private static boolean isNullable(MetaProperty<?> property) {
if (property.propertyType().isPrimitive()) {
return false;
} else {
PropertyDefinition definitionAnnotation = property.annotation(PropertyDefinition.class);
return !definitionAnnotation.validate().equals("notNull");
}
}