public function isActive($name, Context $context = null)
    {
        if ($context === null) {
            $context = new Context();
        }

        if ($this->decorator !== null) {
            $context = $this->decorator->decorate($context);
        }

        return $this->activator->isActive($name, $context);
    }
public function isActive($name, Context $context = null)
    {
        if ($context === null) {
            $context = new Context();
        }

        if ($this->decorator !== null) {
            $context = $this->decorator->decorate($context);
        }

        return $this->activator->isActive($name, $context);
    }
{@inheritdoc}