-- @/lua/common/utils.lua:753
-- checks if the table contains a certain value, compared lower-case. Non-recursive
function tableContainsCaseInsensitive(table, element)
element = string.lower(element)
for _, value in pairs(table) do
if string.lower(value) == element then
return true
end
end
return false
end