human
Complete this python program:
def is_container_agent_running(node):
assistant
#Here is the Python program you requested.

    """Check if the container agent is running on the specified node.
    :param Node node: the node to check.
    :return Deferred[bool]: a Deferred that will fire when
    with whether the container agent is runnning.
    """
    d = node.run_script('service_running', 'flocker-container-agent')
    def not_existing(failure):
        failure.trap(ProcessTerminated)
        return False
    d.addCallbacks((lambda result: True), not_existing)
    return d