def datetime_is_naive(dateTime):
 return ((dateTime.tzinfo is None) or (dateTime.tzinfo.utcoffset(dateTime) is None))

def datetime_is_naive ( dateTime ) : return ( ( dateTime . tzinfo is None ) or ( dateTime . tzinfo . utcoffset ( dateTime ) is None ) )
returns true if datetime is naive .