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