code: void computeVisibility(List<Boolean> visibilities, CmsInheritanceInfo info) {
  
          boolean visible = true;
          boolean inherited = true;
          boolean parentVisible = true;
          for (Boolean visibility : visibilities) {
              parentVisible = visible;
              if (visibility == Boolean.TRUE) {
                  visible = true;
                  inherited = false;
              } else if (visibility == Boolean.FALSE) {
                  visible = false;
                  inherited = false;
              } else {
                  inherited = true;
              }
          }
          info.setVisible(visible);
          info.setVisibilityInherited(inherited);
          info.setParentVisible(parentVisible);
      }
docs: Computes the visibility for an element.<p>
  
  @param visibilities the visibilities for the element in the sequence of parent configurations.<p>
  
  @param info the object in which the visibility should be stored