<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def taskotron_release_critical_task(config, message):
 """ Release-critical taskotron tasks With this rule, you can limit messages to only those of release-critical `taskotron <https://taskotron.fedoraproject.org/>`_ task. These are the tasks which are deemed extremely important by the distribution, and their failure should be carefully inspected. Currently these tasks are ``dist.depcheck`` and ``dist.upgradepath``. """


    # We only operate on taskotron messages, first off.
    if not taskotron_result_new(config, message):
        return False

    task = message['msg']['task'].get('name')

    return task in ['dist.depcheck', 'dist.upgradepath']