public function isRedirect()
    {
        return in_array(
            $this->getStatusCode(),
            [
                StatusCode::HTTP_MOVED_PERMANENTLY,
                StatusCode::HTTP_FOUND,
                StatusCode::HTTP_SEE_OTHER,
                StatusCode::HTTP_TEMPORARY_REDIRECT,
                StatusCode::HTTP_PERMANENT_REDIRECT
            ]
        );
    }
public function isRedirect()
    {
        return in_array(
            $this->getStatusCode(),
            [
                StatusCode::HTTP_MOVED_PERMANENTLY,
                StatusCode::HTTP_FOUND,
                StatusCode::HTTP_SEE_OTHER,
                StatusCode::HTTP_TEMPORARY_REDIRECT,
                StatusCode::HTTP_PERMANENT_REDIRECT
            ]
        );
    }
public function isRedirect ( ) { return in_array ( $ this -> getStatusCode ( ) , [ StatusCode :: HTTP_MOVED_PERMANENTLY , StatusCode :: HTTP_FOUND , StatusCode :: HTTP_SEE_OTHER , StatusCode :: HTTP_TEMPORARY_REDIRECT , StatusCode :: HTTP_PERMANENT_REDIRECT ] ) ; }
Is this response a redirect?

Note: This method is not part of the PSR-7 standard.

@return bool
Is this response a redirect?