public function isRedirection(): bool
    {
        return $this->statusCode >= StatusCode::MULTIPLE_CHOICES
            && $this->statusCode < StatusCode::BAD_REQUEST;
    }
public function isRedirection(): bool
    {
        return $this->statusCode >= StatusCode::MULTIPLE_CHOICES
            && $this->statusCode < StatusCode::BAD_REQUEST;
    }
public function isRedirection ( ) : bool { return $ this -> statusCode >= StatusCode :: MULTIPLE_CHOICES && $ this -> statusCode < StatusCode :: BAD_REQUEST ; }
Is the response a redirect?

@return bool
Is the response a redirect?