def reject_repeat(repeat, model, pvalue, divergence):
    """return True if repeat divergence and pvalue are below thresholds, False otherwise"""
    if repeat.d_pvalue[model] >= pvalue or repeat.d_divergence[model] >= divergence:
        return True
    return False