public static boolean isUserPojo(@NonNull Object object) {
    val type = object.getClass();
    val packageName = type.getPackage().getName();
    return !packageName.startsWith("java.");
  }
An utility class to work with POJOs.

@author Artem Labazin
form/src/main/java/feign/form/util/PojoUtil.java