*/
public static boolean isOfType(ManagedObjectReference entity, Class<?> clazz) {
if (entity == null || clazz == null) {
return false;
}
VmodlType type = VmodlTypeMap.Factory.getTypeMap().getVmodlType(clazz);
return type.getWsdlName().equalsIgnoreCase(entity.getType());
}