alchemist-interfaces / it.unibo.alchemist.model.interfaces / Node / contains

contains

abstract fun contains(mol: Molecule!): Boolean

Tests whether a node contains a Molecule.

Parameters

mol - Molecule!: the molecule to check

Return
Boolean: true if the molecule is present, false otherwise