protected function eventExistsOnStripe($id)
    {
        try {
            return !is_null(StripeEvent::retrieve($id, Yii::$app->params['stripe']['apiKey']));
        } catch (Exception $e) {
            return false;
        }
    }
protected function eventExistsOnStripe($id)
    {
        try {
            return !is_null(StripeEvent::retrieve($id, Yii::$app->params['stripe']['apiKey']));
        } catch (Exception $e) {
            return false;
        }
    }
protected function eventExistsOnStripe ( $ id ) { try { return ! is_null ( StripeEvent :: retrieve ( $ id , Yii :: $ app -> params [ 'stripe' ] [ 'apiKey' ] ) ) ; } catch ( Exception $ e ) { return false ; } }
Verify with Stripe that the event is genuine.

@param string $id

@return bool
Verify with Stripe that the event is genuine .