original_string: private function isSearchQuery(array $criteria)
      {
          if (isset($criteria['$text'])) {
              return true;
          }
          foreach ($criteria as $key => $value) {
              if (is_array($value) && true === $this->isSearchQuery($value)) {
                  return true;
              }
          }
          return false;
      }
code: private function isSearchQuery(array $criteria)
      {
          if (isset($criteria['$text'])) {
              return true;
          }
          foreach ($criteria as $key => $value) {
              if (is_array($value) && true === $this->isSearchQuery($value)) {
                  return true;
              }
          }
          return false;
      }
code_tokens: private function isSearchQuery ( array $ criteria ) { if ( isset ( $ criteria [ '$text' ] ) ) { return true ; } foreach ( $ criteria as $ key => $ value ) { if ( is_array ( $ value ) && true === $ this -> isSearchQuery ( $ value ) ) { return true ; } } return false ; }
docstring: Determines if the provided query criteria contains text search.
  
  @param   array   $criteria
  @return  bool
docstring_tokens: Determines if the provided query criteria contains text search .