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