Availability:C-language interface function
bool 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.