code: def before(point):
      
      if not point:
          return True
  
      if isinstance(point, six.string_types):
          point = str_to_time(point)
      elif isinstance(point, int):
          point = time.gmtime(point)
  
      return time.gmtime() <= point
docs: True if point datetime specification is before now.
  
      NOTE: If point is specified it is supposed to be in local time.
      Not UTC/GMT !! This is because that is what gmtime() expects.