return cl.isInstance(a);
} else if (at == assetFail) {  return false; } else { cl = (Class) at; }
    public static boolean isAssetOfType(Asset a, String type) {	Class cl;        synchronized (assetTypes) {          Object at = assetTypes.get(type);          if (at == null) {            try {              cl = Class.forName("org.cougaar.glm.ldm.asset."+type);              assetTypes.put(type,cl);            } catch ( ClassNotFoundException cnfe) {              assetTypes.put(type,assetFail);              GLMDebug.ERROR("AssetUtils",null, "isAssetOfType: "+cnfe);              return false;            }          } else if (at == assetFail) {            // failed before            return false;          } else {            cl = (Class) at;          }        }	return cl.isInstance(a);    }