boolean (@Nullable VirtualFile file) { if (file == null || !file.isDirectory() || !file.isValid()) return false; for (String pattern : myAdministrativePatterns) { VirtualFile child = file.findChild(pattern); if (child != null) return true; } return false; }