protected function check($status)
    {
        if (($status >= Response::HTTP_OK) && ($status < Response::HTTP_MULTIPLE_CHOICES)) {
            return true;
        }

        return false;
    }
protected function check($status)
    {
        if (($status >= Response::HTTP_OK) && ($status < Response::HTTP_MULTIPLE_CHOICES)) {
            return true;
        }

        return false;
    }
protected function check ( $ status ) { if ( ( $ status >= Response :: HTTP_OK ) && ( $ status < Response :: HTTP_MULTIPLE_CHOICES ) ) { return true ; } return false ; }
Check for success status

@param int $status
@return bool
Check for success status