code: def _log_filter_save_dataset(res):
      return (
          res.get("type") == "dataset" and res.get("action") == "save"
      )
  
file_path: datalad/datalad/core/local/save.py
imports: import logging
  from functools import partial
  from pathlib import Path
  import datalad.utils
  from datalad.distribution.dataset import Dataset, EnsureDataset, datasetmethod, require_dataset
  from datalad.interface.base import Interface, build_doc, eval_results
  from datalad.interface.common_opts import jobs_opt, recursion_flag, recursion_limit, save_message_opt
  from datalad.interface.utils import discover_dataset_trace_to_targets, get_tree_roots
  from datalad.support.constraints import EnsureNone, EnsureStr
  from datalad.support.exceptions import CommandError
  from datalad.support.parallel import ProducerConsumerProgressLog, no_subds_in_futures
  from datalad.support.param import Parameter
  from datalad.utils import ensure_list
  from .status import Status
label_desc: Use image node_id 1 for calling a global function with example usage: _log_filter_save_dataset(res) and returns: unknown