primitive/1

"primitive( ?T" )

Checks whether T is an atomic term or a database reference.