def METHOD_NAME(self) -> bool:
    """Validate that the id equal details."""
    id_ = self.current_file.get("id", None)
    details = self.current_file.get("details", None)
    if id_ and details and id_ != details:
        error_message, error_code = Errors.reputation_id_and_details_not_equal()
        if self.handle_error(error_message, error_code, file_path=self.file_path):
            return False
    return True