boolean (List<List<String>> data) { if (!data.isEmpty()) { for (List<String> list : dat<caret>a) { for (String str : list) { if (!str.isEmpty()) { System.out.println("Found!"); return true; } } } System.out.println("Oops"); return true; } return false; }