Check if a resource is of the specified type
string $type The type to check (e.g. foaf:Person):
boolean True if resource is of specified type.
public function isA($type) {
$this
->checkHasGraph();
return $this->graph
->isA($this->uri, $type);
}