rxn.reaction_preprocessing.special_tokens.contains_light_token

rxn.reaction_preprocessing.special_tokens.contains_light_token(reaction_or_iterable)[source]

Whether a reaction (or set of SMILES strings) contains the light token.

Parameters

reaction_or_iterable (Union[ReactionEquation, Iterable[str]]) –

Return type

bool