is_proprietary

is_proprietary(prefix)[source]

Get if the prefix is proprietary.

Parameters

prefix (str) – The prefix to look up

Return type

Optional[bool]

Returns

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

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