boolean (String paneId) { if (!currentState.getUseFileNestingRules()) return false; if (paneId == null) { return false; } AbstractProjectViewPane pane = idToPane.get(paneId); return pane != null && pane.isFileNestingEnabled(); }