def match_substructures(mol, substructures):
    """
    This function checks if a molecule contains any of the provided substructures.
    Parameters
    ----------
    mol : Chem.rdchem.Mol
        An RDKit molecule.
    substructures: list
        List of substructures as RDKit molecules.
    Returns
    -------
    match: bool
        True if any substructure was matched, otherwise False.
    """
    for substructure in substructures:
        if mol.HasSubstructMatch(substructure):
            return True
    return False