code: public boolean canInstantiate(Class<? extends BioPAXElement> aClass) 
      {
          try {
              String cname = mapClassName(aClass);
          	return !Modifier.isAbstract(Class.forName(cname).getModifiers());
          } catch (ClassNotFoundException e)
          {
              return false;
          } catch (Exception ex) {
          	log.error("Error in canInstantiate(" + aClass + ")", ex);
  			return false;
  		}
      }
docs: Checks whether objects of a BioPAX model interface
  can be created (some types are not official BioPAX
  types, abstract classes).
  
  @param aClass BioPAX interface class
  @return whether this factory can create an instance of the type