*/
public static boolean hasNamedGraphSpecified(Object theObj) {
NamedGraph aAnnotation = theObj.getClass().getAnnotation(NamedGraph.class);
return aAnnotation != null &&
(aAnnotation.type() == NamedGraph.NamedGraphType.Instance || (aAnnotation.type() == NamedGraph.NamedGraphType.Static
&& !aAnnotation.value().equals("")));
}
/**
* Returns the URI of the named graph that operations involving instances should be performed. If null is returned