isFieldNotEmpty($data)) { return filter_var($data[$this->field], FILTER_VALIDATE_IP) !== false; } return true; } }