Validator function "required".