{%
    if destination ~= '1' and destination ~= '2' and destination ~= '3' and destination ~= '4' then
        if Enabled_trap then
            echo('trap state : enabled')
        else
            echo('trap state : disabled')
        end
    else
        if Enabled_dest then
            local line = string.format('trap dest%s state : enabled', destination)
            echo(line)
        else
            local line = string.format('trap dest%s state : disabled', destination)
            echo(line)
        end
    end
%}