public function isEmpty($key)
    {
        return !array_has($this->data, $key) || filled(array_get($this->data, $key));
    }
public function isEmpty($key)
    {
        return !array_has($this->data, $key) || filled(array_get($this->data, $key));
    }
public function isEmpty ( $ key ) { return ! array_has ( $ this -> data , $ key ) || filled ( array_get ( $ this -> data , $ key ) ) ; }
Check if there is a value for the given key

@param $key
@return bool
Check if there is a value for the given key