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.