src/Modules/Auth/User.php
public function getAccessByRoute($route)
    {
        $defaults = $this->routes->get($route)->getDefaults();
        return $this->getAccessByController($defaults['_controller']);
    }
public function getAccessByRoute($route)
    {
        $defaults = $this->routes->get($route)->getDefaults();
        return $this->getAccessByController($defaults['_controller']);
    }
@param string $route

@return boolean