code: def same(*values):
      """
      Check if all values in a sequence are equal.
  
      Returns True on empty sequences.
  
      Examples
      --------
      >>> same(1, 1, 1, 1)
      True
      >>> same(1, 2, 1)
      False
      >>> same()
      True
      """
      if not values:
          return True
      first, rest = values[0], values[1:]
      return all(value == first for value in rest)
  
file_path: zipline/zipline/utils/functional.py
imports: from functools import reduce
  from operator import itemgetter
  from pprint import pformat
  from six import viewkeys, iteritems
  from six.moves import map, zip
  from toolz import curry, flip
  from .sentinel import sentinel
label_desc: Use image node_id 3 for calling a global function with example usage: same() and returns: all, True