code: def get_poll_options(tweet):
      
      if is_original_format(tweet):
          try:
              poll_options_text = []
              for p in tweet["entities"]["polls"]:
                  for o in p["options"]:
                      poll_options_text.append(o["text"])
              return poll_options_text
          except KeyError:
              return []
  
      else:
          raise NotAvailableError("Gnip activity-streams format does not" +
                                  " return poll options")
docs: Get the text in the options of a poll as a list
      - If there is no poll in the Tweet, return an empty list
      - If the Tweet is in activity-streams format, raise 'NotAvailableError'
  
      Args:
          tweet (Tweet or dict): A Tweet object or dictionary
  
      Returns:
          list: list of strings, or, in the case where there is no poll,
          an empty list
  
      Raises:
          NotAvailableError for activity-streams format
  
      Example:
          >>> from tweet_parser.getter_methods.tweet_text import get_poll_options
          >>> original = {
          ...             "created_at": "Wed May 24 20:17:19 +0000 2017",
          ...             "entities": {"polls": [{"options": [{"text":"a"},
          ...                                                 {"text":"b"},
          ...                                                 {"text":"c"}]
          ...                             }]},
          ...            }
          >>> get_poll_options(original)
          ['a', 'b', 'c']
  
          >>> activity = {"postedTime": "2017-05-24T20:17:19.000Z",
          ...             "body": "some tweet text"}
          >>> get_poll_options(activity)
          Traceback (most recent call last):
          ...
          NotAvailableError: Gnip activity-streams format does not return poll options