Did you know ... Search Documentation:
Predicate prolog_stack_property/2