'Return a boolean, whether the participant\'s credit card is set to expire soon.'

def credit_card_expiring(self):

    route = ExchangeRoute.from_network(self, u'braintree-cc')
    if (not route):
        return
    card = CreditCard.from_route(route)
    (year, month) = (card.expiration_year, card.expiration_month)
    if (not (year and month)):
        return False
    return is_card_expiring(int(year), int(month))
