fuellib.rdk.mol.has_naphthalene
- fuellib.rdk.mol.has_naphthalene(mol)
Check if mol is naphthalene or an alkylated naphthalene.
The molecule must contain the naphthalene core (two fused aromatic six-membered rings) and its fused ring system must contain exactly two rings. Larger fused systems (e.g., anthracene) and partially saturated systems (e.g., tetralin) are not counted.
- Parameters:
mol (Mol) – RDKit Mol object.
- Returns:
True if the molecule is a naphthalene, False otherwise.
- Return type:
bool