librdf_node_is_literal function

Check node is a literal.