maybe `hasAllowedNull` ?