protected function isMiddlewareDisabled(string $key = '', string $group = null): bool
    {
        $middleware = $this->getMiddleware($key, $group);
        return $middleware instanceof Disableable ? $middleware->isDisabled() : false;
    }