'Whether or not this summary block should be shown.
By default, the summary is only shown if it has date and the date is in the
future and the user\'s enrollment is in upsell modes'

@property
def is_enabled(self):

    is_enabled = super(VerifiedUpgradeDeadlineDate, self).is_enabled
    if (not is_enabled):
        return False
    enrollment_mode = None
    is_active = None
    if self.enrollment:
        enrollment_mode = self.enrollment.mode
        is_active = self.enrollment.is_active
    if ((enrollment_mode is None) and (is_active is None)):
        return True
    return (is_active and (enrollment_mode in CourseMode.UPSELL_TO_VERIFIED_MODES))
