Did you know ... Search Documentation:
Predicate frame_barrier/3
 frame_barrier(+Frame, +AncFrame, -Barrier) is semidet[private]
True if a frame between Frame and its ancestor AncFrame runs a barrier for suspending a tabled goal (see shift/1): a predicate with the attribute shift_barrier, such as findall/3, or a predicate defined in C that called Prolog. Barrier is its predicate indicator.