code: def nested_contains(dictionary: Dict, phrase: str) -> bool:
      for key, val in dictionary.items():
          if key == phrase and val:
              return True
  
          if isinstance(val, dict) and nested_contains(val, phrase):
              return True
      return False
  
file_path: dvc/dvc/utils/collections.py
imports: from collections.abc import Mapping
  from typing import Dict, Iterable, List, Union, no_type_check
label_desc: Use image node_id 7 for calling a global function with example usage: nested_contains(dictionary, phrase) and returns: False, True, True