Preliminary support for returning the `foreign` property for Prolog built-in predicates when applicable