src/main/php/request/WebRequest.php
public function hasRedirectHeader(string $headerName): bool
    {
        return $this->hasHeader('REDIRECT_' . $headerName) || $this->hasHeader($headerName);
    }
public function hasRedirectHeader(string $headerName): bool
    {
        return $this->hasHeader('REDIRECT_' . $headerName) || $this->hasHeader($headerName);
    }
public function hasRedirectHeader ( string $ headerName ) : bool { return $ this -> hasHeader ( 'REDIRECT_' . $ headerName ) || $ this -> hasHeader ( $ headerName ) ; }
checks whether a request header or it's redirect equivalent is set

A redirect header is one that starts with REDIRECT_ and has most likely
a different value after a redirection happened than the original header.
The method will try to use the header REDIRECT_$headerName first, but
falls back to $headerName when REDIRECT_$headerName  is not present.

@param   string  $headerName
@return  bool
@since   3.1.1
checks whether a request header or it s redirect equivalent is set