molsysmt.element.group.lipid.is_lipid#
- molsysmt.element.group.lipid.is_lipid(name)[source]#
Check whether a group name corresponds to a lipid residue.
- Parameters:
name (str) – Residue or group name as stored in the topology (e.g.
'POPC','DPPC').- Returns:
True if
namebelongs to the set of known lipid group names, False otherwise.- Return type:
bool
Notes
The recognised names are defined in
molsysmt.element.group.lipid.lipid_names.Added in version 1.0.0.