public function hasParameter($name)
    {
        if (array_key_exists($name, $this->parameters)) {
            if (null !== $this->parameters[$name]['value']) {
                return true;
            }
        }

        return false;
    }
public function hasParameter($name)
    {
        if (array_key_exists($name, $this->parameters)) {
            if (null !== $this->parameters[$name]['value']) {
                return true;
            }
        }

        return false;
    }
public function hasParameter ( $ name ) { if ( array_key_exists ( $ name , $ this -> parameters ) ) { if ( null !== $ this -> parameters [ $ name ] [ 'value' ] ) { return true ; } } return false ; }
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
Returns true if the Task has a parameter with the given name and the value is not null . Returns false otherwise .