Returns true if the option is a Some and the value inside of it matches a predicate.
bool isSomeAnd(bool Function(T) f);