public function can($permission, array $params = [], $caching = true)
    {
        return $this->canAccess($permission, $params, $caching);
    }
public function can($permission, array $params = [], $caching = true)
    {
        return $this->canAccess($permission, $params, $caching);
    }
public function can ( $ permission , array $ params = [ ] , $ caching = true ) { return $ this -> canAccess ( $ permission , $ params , $ caching ) ; }
check user permission
@param string $permission a permission name or a url
@param array $params
@param bool|true $caching
@return bool
check user permission