public function isActive($name, Context $context)
    {
        if ($this->forceRequest === false && !array_key_exists($name, $this->variables)) {
            return false;
        }

        if ($this->forceRequest === true && !array_key_exists($name, $this->variables)) {
            return filter_var(getenv($name), FILTER_VALIDATE_BOOLEAN);
        }

        return filter_var(getenv($this->variables[$name]), FILTER_VALIDATE_BOOLEAN);
    }
public function isActive($name, Context $context)
    {
        if ($this->forceRequest === false && !array_key_exists($name, $this->variables)) {
            return false;
        }

        if ($this->forceRequest === true && !array_key_exists($name, $this->variables)) {
            return filter_var(getenv($name), FILTER_VALIDATE_BOOLEAN);
        }

        return filter_var(getenv($this->variables[$name]), FILTER_VALIDATE_BOOLEAN);
    }
{@inheritdoc}