<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_poll_options(tweet):
 """ 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: ['a', 'b', 'c'] Traceback (most recent call last):
 NotAvailableError: Gnip activity-streams format does not return poll options """

    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")