def METHOD_NAME(self, item_name, ds_path, is_import_cmd=False):
    error_message = getattr(self, "error_message", None)
    if not error_message:
        error_message = self._generate_error_message(
            item_name, ds_path, is_import_cmd=is_import_cmd
        )
    return error_message