code: def _extract_flags(self, **kwargs):
      flags = dict({})
      for key, value in kwargs.items():
          if self._is_flag(self, key):
              flags[key] = value
  
      return flags
  
file_path: sklearn-evaluation/src/sklearn_evaluation/telemetry.py
imports: from functools import wraps
  import inspect
  from inspect import signature
  from ploomber_core.telemetry.telemetry import Telemetry
label_desc: Use image node_id 4 for calling the SKLearnEvaluationLogger obj's underlying member method code with example usage: obj._extract_flags() and returns: flags