Did you know ... Search Documentation:
Predicate xref_meta/3
Availability::- use_module(library(prolog_xref)).(can be autoloaded)
 xref_meta(+Source, +Head, -Called) is semidet
True when Head calls Called in Source.
Arguments:
Called- is a list of called terms, terms of the form Term+Extra or terms of the form //(Term).