def service_fully_started(dut, service):
    """
    @summary: Check whether the specified service is fully started on DUT. According to the SONiC design, the last
        instruction in service starting script is to run "docker wait <service_name>". This function take advantage
        of this design to check whether a service has been fully started. The trick is to check whether
        "docker wait <service_name>" exists in current running processes.
    @param dut: The AnsibleHost object of DUT. For interacting with DUT.
    @param service: Service name.
    @return: Return True if the specified service is fully started. Otherwise return False.
    """
    try:
        output = dut.command('pgrep -f "docker wait %s"' % service)
        if output["stdout_lines"]:
            return True
        else:
            return False
    except:
        return False