def search_score_come_out(score_table, come_out=True):
    """
    Search courses that scores have come out or not.

    'come_out' is a bool, set it to True to search scores that have come out,
    and set it to False to search that have not.
    """
    return {v for v in score_table if not (bool(v[7]) ^ come_out)}