docs: def is_number(obj):
      """
      Helper function to determine numbers
      across Python 2.x and 3.x
      """
      try:
          from numbers import Number
      except ImportError:
          from operator import isNumberType
          return isNumberType(obj)
      else:
          return isinstance(obj, Number)