protected function status($match = null)
    {
        $status = isset($this->status[0]) ? $this->status[0] : null;

        if ($match !== null) {
            return $status === $match;
        }

        return $status;
    }
protected function status($match = null)
    {
        $status = isset($this->status[0]) ? $this->status[0] : null;

        if ($match !== null) {
            return $status === $match;
        }

        return $status;
    }
protected function status ( $ match = null ) { $ status = isset ( $ this -> status [ 0 ] ) ? $ this -> status [ 0 ] : null ; if ( $ match !== null ) { return $ status === $ match ; } return $ status ; }
Get the current context of the scan.

@param null|string $match To check whether the current status is this value

@return string|bool
Get the current context of the scan .