code: def _already_declared(self, key):
      return key in self._types or key in self._dependencies
  
imports: import functools
  import inspect
  import itertools
  from operator import attrgetter
  from typing import Any
  from gluonts.pydantic import pydantic, deep_update
label_desc: Use image node_id 4 for calling the Settings obj's underlying member method code with example usage: obj._already_declared(key) and returns: unknown