def METHOD_NAME(self, record: Mapping[str, Any]) -> bool:
    if self.validation_policy:
        return self.validation_policy.METHOD_NAME(record=record, schema=self.catalog_schema)
    else:
        raise RecordParseError(
            FileBasedSourceError.UNDEFINED_VALIDATION_POLICY, stream=self.name, validation_policy=self.config.validation_policy
        )