code: public boolean accept(Class<?> aClass) {
          try {
              return (testKryo.getRegistration(aClass) != null);
          } catch (IllegalArgumentException e) {
              return false;
          }
      }
docs: Uses the initialized Kryo instance from the JobConf to test if Kryo will accept the class
  @param aClass
  @return