contains

abstract fun contains(mol: Molecule): Boolean

Tests whether a node contains a Molecule.

Return

true if the molecule is present, false otherwise

Parameters

mol

the molecule to check