code: public static boolean isAtLeastOneChildComponentVisible(Container component) {
          for (Component comp : component.getComponents()) {
              if (comp.isVisible()) {
                  return true;
              }
          }
          return false;
      }
docs: Tells whether or not the given {@code component} has at least one child component visible.
  
  @param component the component that will be checked
  @return {@code true} if at least one child component is visible, {@code false} otherwise.