How to check if a datetime object is localized with pytz?,self.date = d.replace(tzinfo=pytz.utc)