(self)
return False
Prefixed with memoized_ to make it obvious that this property is
        memoized and also relies on self.memoized_events.
Prefixed with memoized_ to make it obvious that this property is
        memoized and also relies on self.memoized_events.
Prefixed with memoized_ to make it obvious that this property is memoized and also relies on self . memoized_events .
def memoized_uses_ivr_survey(self):
        """
        Prefixed with memoized_ to make it obvious that this property is
        memoized and also relies on self.memoized_events.
        """
        from corehq.messaging.scheduling.models import IVRSurveyContent

        for event in self.memoized_events:
            if isinstance(event.content, IVRSurveyContent):
                return True

        return False
def memoized_uses_ivr_survey ( self ) : from corehq . messaging . scheduling . models import IVRSurveyContent for event in self . memoized_events : if isinstance ( event . content , IVRSurveyContent ) : return True return False