def too_much_points_rejected(all_points_number, current_points_number):
    """
    Check whether the percentage ratio of size of two sets is too high.

    Parameters
    ----------
    all_points_number : int
        The set which contains all points.
    current_points_number : int
        The set which is smaller or equal than all_points_number.

    Returns
    -------
    True or False
        If the ratio is too high it returns True. Otherwise it returns False.
    """
    if 1 - current_points_number / all_points_number > 0.05:
        return True
    else:
        return False
