public boolean isInstanceOf(Object object, String instanceName)
{
//System.out.println("isInstanceOf(Object=" + object.getClass().getName() + ")" );
if(object instanceof RefObject)
{
RefClass conceptClass = getRefClassByConceptName(instanceName);
return conceptClass.refAllOfType().contains(object);
//return ((RefObject)object).refIsInstanceOf( conceptClass.refMetaObject(), true );
//return ((RefObject)object).refClass() == conceptClass;
}
else if(object instanceof RefStruct)
{