def row_criteria(tag):
    """Criteria for row in stats table for find_all"""
    row_tag = None
    if not tag.name == "tr":
        row_tag = False
    elif not tag.has_attr("class"):
        row_tag = True
    else:
        row_tag = ("league_average_table" not in tag["class"] and
                   "stat_total" not in tag["class"] and
                   "thead" not in tag['class'])
    return row_tag