<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _raise_deprecation_note(deprecated, replacement, soft=False):
 """User notification for deprecated parameter. Arguments: deprecated (str):
 Deprecated parameter. replacement (str):
 Replacement parameter to use instead. soft (bool):
 Fatal if True. """

    error_msg = ("`{deprecated}` is deprecated. Please use `{replacement}`. "
                 "`{deprecated}` will be removed in future versions of "
                 "Ray.".format(deprecated=deprecated, replacement=replacement))
    if soft:
        logger.warning(error_msg)
    else:
        raise DeprecationWarning(error_msg)