def seperate_list(all_list, pred):
    """Given a predicate, seperate a list into a true and false list.

    Arguments:
        all_list {list} -- all items
        pred {function} -- predicate function
    """

    true_list = []
    false_list = []

    for item in all_list:
        if pred(item):
            true_list.append(item)
        else:
            false_list.append(item)

    return true_list, false_list