is_proprietary

is_proprietary(prefix: str) bool | None[source]

Get if the prefix is proprietary.

Parameters:

prefix – The prefix to look up

Returns:

If the prefix corresponds to a proprietary resource. Assume false if not annotated explicitly

>>> assert is_proprietary('eurofir')
>>> assert not is_proprietary('chebi')