code: def accept_variable_arguments(func):
      for param in signature(func).parameters.values():
          if param.kind in (
              Parameter.VAR_POSITIONAL,
              Parameter.VAR_KEYWORD,
          ):
              return True
      return False
  
file_path: chainerrl/chainerrl/links/sequence.py
imports: from inspect import Parameter
  from inspect import signature
  import chainer
  from chainerrl.recurrent import RecurrentChainMixin
label_desc: Use image node_id 1 for calling a global function with example usage: accept_variable_arguments(func) and returns: False, True