tff.types.contains

Checks if type_signature contains any types that pass predicate.