contains

bool libsemigroups::Semiring::contains(T) const

Returns true if this contain the argument.

This member function returns true if the argument is mathematically contained in this. For semirings without threshold, this will always return true.