gh-156491: Avoid KeyErrors in os._Environ.get() and __contains__() (GH-156492) Implement get() and __contains__() on os._Environ directly, which cuts out the cost of raising and catching a KeyError when the keys do not exist.