original_string: public function has($key)
      {
          return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) {
              return is_null($this->get($key));
          });
      }
code: public function has($key)
      {
          return ! collect(is_array($key) ? $key : func_get_args())->contains(function ($key) {
              return is_null($this->get($key));
          });
      }
code_tokens: public function has ( $ key ) { return ! collect ( is_array ( $ key ) ? $ key : func_get_args ( ) ) -> contains ( function ( $ key ) { return is_null ( $ this -> get ( $ key ) ) ; } ) ; }
docstring: Checks if a key is present and not null.
  
  @param  string|array  $key
  @return bool
docstring_tokens: Checks if a key is present and not null .