def METHOD_NAME():
    logger.log_info("restore_nat_entries service is started")
    # Use warmstart python binding to check warmstart information
    warmstart = swsscommon.WarmStart()
    warmstart.initialize("natsyncd", "nat")
    warmstart.checkWarmStart("natsyncd", "nat", False)
    # if swss or system warm reboot not enabled, don't run
    if not warmstart.isWarmStart():
        logger.log_info("restore_nat_entries service is skipped as warm restart not enabled")
        return
    # NAT restart not system warm reboot, set statedb directly
    if not warmstart.isSystemWarmRebootEnabled():
        set_statedb_nat_restore_done()
        logger.log_info("restore_nat_entries service is done as system warm reboot not enabled")
        return
    # Program the nat conntrack entries in the kernel by reading the
    # entries from nat_entries.dump
    try:
        restore_update_kernel_nat_entries(WARM_BOOT_FILE_DIR + NAT_WARM_BOOT_FILE)
    except Exception as e:
        logger.log_error(str(e))
        sys.exit(1)
    # Remove the dump file after restoration
    os.remove(WARM_BOOT_FILE_DIR + NAT_WARM_BOOT_FILE)
    # set statedb to signal other processes like natsyncd
    set_statedb_nat_restore_done()
    logger.log_info("restore_nat_entries service is done for system warmreboot")
    return