fuellib.rdk.mol.has_fused_rings

fuellib.rdk.mol.has_fused_rings(mol, *, number_of_rings=None)

Check if mol contains any fused systems of a specific number of rings.

Parameters:
  • mol (Mol) – RDKit Mol object.

  • number_of_rings (int | None) – If specified, only consider fused rings where the fused system contains this number of rings.

Returns:

Whether the molecule contains any fused systems with specified number of rings.

Return type:

bool