molsysmt.element.is_element#
- molsysmt.element.is_element(element)[source]#
Checking if a string represents a valid structural element level in MolSysMT.
- Parameters:
element (str) – Structural element level to query (‘atom’, ‘group’, ‘component’, ‘molecule’, ‘chain’, ‘entity’).
- Returns:
True if element is in (‘atom’, ‘group’, ‘component’, ‘molecule’, ‘chain’, ‘entity’, ‘bond’), False otherwise.
- Return type:
bool
Added in version 1.0.0.