MoleculeMatchQ
MoleculeMatchQ[mol,patt] returns True if the Molecule matches the given pattern.
MoleculeMatchQ[patt] represents an operator form of MoleculeMatchQ that can be applied to a molecule.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.