is_rdf function

Test if the object is an rdf