def is_timezone_aware(datetime_obj):
return datetime_obj.tzinfo is not None and datetime_obj.tzinfo.utcoffset(datetime_obj) is not None<EOL>
Determine whether or not a given datetime object is timezone aware.