original_string: public function containsStrict($key, $value = null)
      {
          if (func_num_args() == 2) {
  
              return $this->contains(function ($item) use ($key, $value) {
  
                  return ArrayHelper::dataGet($item, $key) === $value;
              });
          }
  
          if ($this->useAsCallable($key)) {
  
              return !is_null($this->first($key));
          }
  
          return in_array($key, $this->items, true);
      }
code: public function containsStrict($key, $value = null)
      {
          if (func_num_args() == 2) {
  
              return $this->contains(function ($item) use ($key, $value) {
  
                  return ArrayHelper::dataGet($item, $key) === $value;
              });
          }
  
          if ($this->useAsCallable($key)) {
  
              return !is_null($this->first($key));
          }
  
          return in_array($key, $this->items, true);
      }
code_tokens: public function containsStrict ( $ key , $ value = null ) { if ( func_num_args ( ) == 2 ) { return $ this -> contains ( function ( $ item ) use ( $ key , $ value ) { return ArrayHelper :: dataGet ( $ item , $ key ) === $ value ; } ) ; } if ( $ this -> useAsCallable ( $ key ) ) { return ! is_null ( $ this -> first ( $ key ) ) ; } return in_array ( $ key , $ this -> items , true ) ; }
docstring: Determine if an item exists in the collection using strict comparison.
  
  @param  mixed $key
  @param  mixed $value
  
  @return bool
docstring_tokens: Determine if an item exists in the collection using strict comparison .