Availability:C-language interface function
int PL_is_functor(term_t,
functor_t)Returns non-zero if term is compound and its functor is functor.
This test is equivalent to PL_get_functor(),
followed by testing the functor, but easier to write and faster.