original_string: public function isSideMenuItemActive($item)
      {
          if ($this->contextSideMenuItemCode === true) {
              $this->contextSideMenuItemCode = null;
              return true;
          }
  
          return $this->contextOwner == $item->owner && $this->contextSideMenuItemCode == $item->code;
      }
code: public function isSideMenuItemActive($item)
      {
          if ($this->contextSideMenuItemCode === true) {
              $this->contextSideMenuItemCode = null;
              return true;
          }
  
          return $this->contextOwner == $item->owner && $this->contextSideMenuItemCode == $item->code;
      }
code_tokens: public function isSideMenuItemActive ( $ item ) { if ( $ this -> contextSideMenuItemCode === true ) { $ this -> contextSideMenuItemCode = null ; return true ; } return $ this -> contextOwner == $ item -> owner && $ this -> contextSideMenuItemCode == $ item -> code ; }
docstring: Determines if a side menu item is active.
  @param mixed $item Specifies the item object.
  @return boolean Returns true if the side item is active.
docstring_tokens: Determines if a side menu item is active .