code: protected CmsContainerElementBean getParentElement(CmsContainerElementBean element) {
  
          if (m_elementInstances == null) {
              initPageData();
          }
          CmsContainerElementBean parent = null;
          CmsContainerBean cont = m_parentContainers.get(element.getInstanceId());
          if ((cont != null) && cont.isNestedContainer()) {
              parent = m_elementInstances.get(cont.getParentInstanceId());
          }
          return parent;
      }
docs: Returns the parent element if available.<p>
  
  @param element the element
  
  @return the parent element or null