def METHOD_NAME(duthost, server_pattern):
    """ Check if ntp server take effect in ntp.conf
    """
    content = duthost.command("cat {}".format(NTP_CONF))
    for line in content['stdout_lines']:
        if re.search(server_pattern, line):
            return True
    return False