'Fetch the sequence of lists for a user. If no user_id or screen_name
is passed, the data returned will be for the authenticated user.
Args:
user_id:
The ID of the user for whom to return results for. [Optional]
screen_name:
The screen name of the user for whom to return results
for. [Optional]
count:
The amount of results to return per page.
No more than 1000 results will ever be returned in a single page.
Defaults to 20. [Optional]
cursor:
The "page" value that Twitter will use to start building the list
sequence from. Use the value of -1 to start at the beginning.
Twitter will return in the result the values for next_cursor and
previous_cursor. [Optional]
Returns:
A sequence of twitter.List instances, one for each list'

def GetLists(self, user_id=None, screen_name=None):

    result = []
    cursor = (-1)
    while True:
        (next_cursor, prev_cursor, lists) = self.GetListsPaged(user_id=user_id, screen_name=screen_name, cursor=cursor)
        result += lists
        if ((next_cursor == 0) or (next_cursor == prev_cursor)):
            break
        else:
            cursor = next_cursor
    return result
