def signal_hammer(icu, icu_slope, hammer_icu, hammer_slope):
    """"
    #    check if at the current icu and icu_slope (daily icu)
    #     a safety hammer should be applied
    :param icu: the current icu
    :param icu_slope: the current daily icu
    :param  hammer_icu: the icu level to activate the hammer
    :param  hammer_slope: the icu slope level to activate the hammer
    :return: boolean
    """

    return (icu > hammer_icu and icu_slope > 0) or (icu_slope > hammer_slope)