boolean (ViewContext context, Content[] selectedContents, String place) { for (Content c : context.getContentManager().getContents()) { if (c.isCloseable() && isAccepted(c, selectedContents)) return true; } return false; }