original_string: public function hasParameter($name)
      {
          if (array_key_exists($name, $this->parameters)) {
              if (null !== $this->parameters[$name]['value']) {
                  return true;
              }
          }
  
          return false;
      }
code: public function hasParameter($name)
      {
          if (array_key_exists($name, $this->parameters)) {
              if (null !== $this->parameters[$name]['value']) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function hasParameter ( $ name ) { if ( array_key_exists ( $ name , $ this -> parameters ) ) { if ( null !== $ this -> parameters [ $ name ] [ 'value' ] ) { return true ; } } return false ; }
docstring: Returns true if the Task has a parameter with the given name, and the value is not null.
  Returns false otherwise.
  
  @param string $name
  
  @return bool
docstring_tokens: Returns true if the Task has a parameter with the given name and the value is not null . Returns false otherwise .