Did you know ... Search Documentation:
Predicate type_accepts_function/1