public boolean containsKey(String var) {
        for (String line : this.lines) {
            if (line.trim().length() == 0) {
                continue;
            }

            if (line.charAt(0) == '#') {
                continue;
            }

            if (line.contains("=")) {
                int delimPosition = line.indexOf('=');
                String key = line.substring(0, delimPosition);

                if (key.equals(var)) {
                    return true;
                }
            } else {
                continue;
            }
        }

        return false;
    }