protected function checkActive($url,$method)
    {
        if(is_array($url)){
            return call_user_func_array(array($this->request,$method), $url) ? $this->activeValue : $this->inActiveValue;
        } else{
            return $this->request->{$method}($url) ? $this->activeValue : $this->inActiveValue;
        }
    }