Did you know ... Search Documentation:
Predicate term_variables/3