code: def warnings(settings=None):
      if settings is None:
          return _warnings_enabled
  
      if type(settings) is dict:
          for key in settings:
              if key in _warnings_enabled:
                  _warnings_enabled[key] = settings[key]
  
imports: from .error import *
  from .tokens import *
  from .events import *
  from .nodes import *
  from .loader import *
  from .dumper import *
  import io
label_desc: Use image node_id 1 for calling a global function with example usage: warnings(settings) and returns: _warnings_enabled