boolean (Map<String, Set<String>> classMethods) { for (Set<String> methods : classMethods.values()) { if (methods == null) { return true; } for (String methodName : methods) { if ("suite".equals(methodName)) { return true; } } } return classMethods.isEmpty(); }