attributes(portray)
is in effect. If the hook succeeds the
attribute is considered printed. Otherwise Module = ...
is
printed to indicate the existence of a variable. This predicate is
deprecated because it cannot work with pure interface predicates like
copy_term/3.
Use attribute_goals//1 instead to map attributes to residual goals.