add `required()` check method