code: public static boolean isDeprecated(String uri)
      {
      	Datatype datatype = datatypesHash.get(uri);
      	String urn = getOfficialDataTypeURI(datatype);
      	return !uri.equalsIgnoreCase(urn);
      }
docs: To know if a URI of a data type is deprecated.
  
  @param uri (URN or URL) of a data type
  @return answer ("true" or "false") to the question: is this URI deprecated?