code: public String getNoEditReason(CmsClientSitemapEntry entry) {
  
          String reason = entry.getNoEditReason();
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(reason)) {
              reason = null;
              if ((entry.getLock() != null)
                  && (entry.getLock().getLockOwner() != null)
                  && !entry.getLock().isOwnedByUser()) {
                  reason = Messages.get().key(Messages.GUI_DISABLED_LOCKED_BY_1, entry.getLock().getLockOwner());
              }
              if (entry.hasBlockingLockedChildren()) {
                  reason = Messages.get().key(Messages.GUI_DISABLED_BLOCKING_LOCKED_CHILDREN_0);
              }
          }
          return reason;
      }
docs: Returns the no edit reason or <code>null</code> if editing is allowed.<p>
  
  @param entry the entry to get the no edit reason for
  
  @return the no edit reason