code: def lengths_arg_exists(func):
      """Returns True if func takes ``lengths`` keyword argument.
  
      Arguments
      ---------
      func : callable
          The function, method, or other callable to search for the lengths arg.
      """
      spec = inspect.getfullargspec(func)
      return "lengths" in spec.args + spec.kwonlyargs
  
imports: import inspect
label_desc: Use image node_id 1 for calling a global function with example usage: lengths_arg_exists(func) and returns: unknown