tff.framework.type_contains

Checks if type_signature contains any types that pass predicate.