local p = {}
function p.exists(frame)
    local sPage = frame.args[1]
 
    if sPage then 
        local _, val = pcall(package.loaders[2], sPage)
 
        if type(val) == "function" or type(val) == "string" then
           return frame.args[2] or frame.args["true"]
        end
    end
    return frame.args[3] or frame.args["false"]
end
 
return p