/**
  * Check if the currently logged in user is the owner of a panel
  *
  * @param Panel $panel
  * @return bool
  */
 public function isCurrentUserOwnerOfPanel(Panel $panel)
 {
     if ($communityUser = $this->getLoggedInUser()) {
         if ($panel->getCommunityUser() === $communityUser) {
             return true;
         } else {
             return false;
         }
     } else {
         return false;
     }
 }