public boolean isProperSetting(HighlightDisplayKey key) { final Map<String, Boolean> diffMap = getDisplayLevelMap(); if (diffMap != null) { final ToolsImpl tools = myBaseProfile.getTools(key.toString()); final ToolsImpl currentTools = myTools.get(key.toString()); if (tools != null && currentTools != null) { diffMap.put(key.toString(), tools.equalTo(currentTools)); } else { diffMap.put(key.toString(), tools == currentTools); } return !diffMap.get(key.toString()).booleanValue(); } return false; }