public function has($name)
    {
        return isset($this->data[$name]) && !in_array($this->data[$name], ['', null, false, array()], true);
    }
public function has($name)
    {
        return isset($this->data[$name]) && !in_array($this->data[$name], ['', null, false, array()], true);
    }
public function has ( $ name ) { return isset ( $ this -> data [ $ name ] ) && ! in_array ( $ this -> data [ $ name ] , [ '' , null , false , array ( ) ] , true ) ; }
Check if the parameter has value

For example, 0, ' ', 0.0 are all have value

@param string $name
@return bool
Check if the parameter has value