def check_stability_of_rearticulated_pitch(counterpoint_continuation:
    'LineElement', movement: int, **kwargs) ->bool:
    """
    Check that a pitch to be rearticulated (repeated) is stable.

    :param counterpoint_continuation:
        current continuation of counterpoint line
    :param movement:
        melodic interval (in scale degrees) for line continuation
    :return:
        indicator whether a continuation is in accordance with the rule
    """
    if movement != 0:
        return True
    return counterpoint_continuation.scale_element.is_from_tonic_triad
