SP_is_atomic()
#include <sicstus/sicstus.h> int SP_is_atomic(SP_term_ref term);
Determines whether the value of term is a Prolog atomic term.
term
1 if it is an atomic term and 0 otherwise.
Testing Prolog Terms.