if value.tzinfo is not None and call to the method value.tzinfo.utcoffset called with an argument value evaluates to not None,
return value . tzinfo is not None and value . tzinfo . utcoffset ( value ) is not None