in gym3/wrapper.py [0:0]
def unwrap(env):
"""
:param env: a gym3 environment that may have wrappers applied to it
:returns: the gym3 environment without the wrappers
"""
while isinstance(env, Wrapper):
env = env.env
return env