docs: def has_entities(status):
      """
      Returns true if a Status object has entities.
  
      Args:
          status: either a tweepy.Status object or a dict returned from Twitter API
      """
      try:
          if sum(len(v) for v in status.entities.values()) > 0:
              return True
  
      except AttributeError:
          if sum(len(v) for v in status['entities'].values()) > 0:
              return True
  
      return False