human
Write me a the Python code you requested given the following:
Complete the below
def is_process_running(node, name):

    ''''Check if the process `name` is running on `node`.
    :param Node node: the node to check.
    :param bytes name: the name of the process to look for.
    :return Deferred[bool]: a deferred that will fire
    with whether at least one process named `name` is running
    on `node`.'
    '''
assistant
#Here is the Python code you requested.
    command = ['pidof', '-x', name]
    d = node.run_as_root(command)
    def not_existing(failure):
        failure.trap(ProcessTerminated)
        return False
    d.addCallbacks((lambda result: True), not_existing)
    return d