original_string: public function exceedsLimit($user_id, $store_id)
      {
          if ($this->user->isSuperadmin($user_id)) {
              return false; // No limits for superadmin
          }
  
          $limit = $this->getLimit($user_id);
  
          if (empty($limit)) {
              return false;
          }
  
          $conditions = array(
              'user_id' => $user_id,
              'store_id' => $store_id
          );
  
          $existing = $this->getList($conditions);
          return count($existing) > $limit;
      }
code: public function exceedsLimit($user_id, $store_id)
      {
          if ($this->user->isSuperadmin($user_id)) {
              return false; // No limits for superadmin
          }
  
          $limit = $this->getLimit($user_id);
  
          if (empty($limit)) {
              return false;
          }
  
          $conditions = array(
              'user_id' => $user_id,
              'store_id' => $store_id
          );
  
          $existing = $this->getList($conditions);
          return count($existing) > $limit;
      }
code_tokens: public function exceedsLimit ( $ user_id , $ store_id ) { if ( $ this -> user -> isSuperadmin ( $ user_id ) ) { return false ; // No limits for superadmin } $ limit = $ this -> getLimit ( $ user_id ) ; if ( empty ( $ limit ) ) { return false ; } $ conditions = array ( 'user_id' => $ user_id , 'store_id' => $ store_id ) ; $ existing = $ this -> getList ( $ conditions ) ; return count ( $ existing ) > $ limit ; }
docstring: Whether the user exceeds the max allowed number of products in the wishlist
  @param integer|string $user_id
  @param integer $store_id
  @return boolean
docstring_tokens: Whether the user exceeds the max allowed number of products in the wishlist