def flatten_list(input):
    """
    Given a list or list of lists, this method will flatten any list structure into a single list
    :param input:   Artibtrary list to flatten.  If not a list, then the input will be returned as a list of that single item
    :return: Flattened list
    """
    if isinstance(input,list):
        result = []
        for item in input:
            result += flatten_list(item)
        return result
    else:
        return [input]