public function isValid($discount, $request)
    {
        $code = $this->validate($discount, $request);
        if ($code == Discount_Engine::VALIDATION_CODE_VALID)
            return true;
        return false;
    }