docs: protected IPortletEntity unwrapEntity(IPortletEntity portletEntity) {
          if (portletEntity instanceof TransientPortletEntity) {
              return ((TransientPortletEntity) portletEntity).getDelegatePortletEntity();
          }
  
          return portletEntity;
      }