Skip to content

has_any_species

has_any_species(species)

Returns True if any of the given species appear in either reactants or products.

Parameters

species : Specie, str, or list[Specie or str]
Species to check for.

Returns

bool
True if at least one of the given species appears in this reaction.