def bayes_factor_pass(bayes_factor, bf_filter):
    """
    Checks to see out of a list of bayes factors which ones
    pass the filter check. 1 if pass, 0 if no pass.
    """
    if isinstance(bayes_factor, float):
        bayes_factor = [bayes_factor]

    bf_list = []
    for bf in bayes_factor:
        if abs(bf) < bf_filter:
            bf_list.append(0)
        else:
            bf_list.append(1)

    return bf_list