code: def normalize_hookimpl_opts(opts):
      opts.setdefault("tryfirst", False)
      opts.setdefault("trylast", False)
      opts.setdefault("hookwrapper", False)
      opts.setdefault("optionalhook", False)
  
imports: import inspect
  import sys
  import warnings
  from .callers import _legacymulticall, _multicall
label_desc: Use image node_id 1 for calling a global function with example usage: normalize_hookimpl_opts(opts) without return types