from typing import List


def check_absence_of_skip_series(
        movement: int,
        past_movements: List[int],
        max_n_skips: int = 2,
        **kwargs
) -> bool:
    """
    Check that there are no long series of skips.

    :param movement:
        melodic interval (in scale degrees) for line continuation
    :param past_movements:
        list of past movements
    :param max_n_skips:
        maximum allowed number of skips in a row
    :return:
        indicator whether a continuation is in accordance with the rule
    """
    if abs(movement) <= 1:
        return True
    if len(past_movements) < max_n_skips:
        return True
    only_skips = all(abs(x) > 1 for x in past_movements[-max_n_skips:])
    return not only_skips