Check for PL_foreign_context_predicate function in libswipl. This is a recently-added foreign function that may not exist in many SWI-Prolog installations
Check for PL_foreign_context_predicate function in libswipl. This is a recently-added foreign function that may not exist in many SWI-Prolog installations

keriharris/plgi,keriharris/plgi