return test;
  public boolean testInstance(Object arg, String ty) {    boolean test = true;    try {      test = (Class.forName(ty)).isInstance(arg);    } catch (ClassNotFoundException e) {      getLoggingService().error(e.getMessage(), e);      test = false;    }     return test;  }