Returns true if x is in the domain of this function
true
x
bool isInDomain(X x) => domain.any((bool Function(X) s) => s(x));