docstr: If `key` == `value`, return tuple of (`key`, None). Else `default_visit`
code: def _visit(path, key, value):
      """If `key` == `value`, return tuple of (`key`, None). Else `default_visit`"""
      if key and key == value:
          return (key, None)
      return default_visit(path, key, value)
  
imports: from hyperparameter_hunter.keys.hashing import make_hash_sha256
  from hyperparameter_hunter.space.dimensions import Categorical, RejectedOptional
  from hyperparameter_hunter.utils.boltons_utils import remap, default_visit, default_enter
  from hyperparameter_hunter.utils.general_utils import subdict
  import ast
  from contextlib import suppress
  from inspect import getsource
  import numpy
  import pandas
  from typing import List, Callable, Dict, Union, Tuple
label_desc: Use image node_id 2 for calling the DatasetNameReport obj's underlying member method code with example usage: obj._visit(path, key, value) and returns: default_visit, key,  None