def isBirthday(self):
        """ Is it the user's birthday today?
        """
        if not self.birthday:
            return False
        birthday = self.birthdate()
        today = date.today()
        return (birthday.month == today.month and
                birthday.day == today.day)
def isBirthday ( self ) : if not self . birthday : return False birthday = self . birthdate ( ) today = date . today ( ) return ( birthday . month == today . month and birthday . day == today . day )
Is it the user's birthday today?