title: OpenAI Gym: How do I access environment registration data (for e.g. max_episode_steps) from within a custom OPenvironment?
body: <p>I created a custom environment using OpenAI Gym. I want to have access to the max_episode_steps and reward_threshold that are specified in <strong><em>init.py</em></strong>
  For eg:</p>
  
  <pre><code>from gym.envs.registration import registry, register, make, spec
  register(
      id='myenv-v0',
      entry_point='gym.envs.algorithmic:myenv',
      tags={'wrapper_config.TimeLimit.max_episode_steps': 200},
      reward_threshold=25.0,
  )
  </code></pre>
  
  <p>But how do I access this from <strong><em>gym_myenv.py</em></strong>?
  If I first create the environment and use env._max_episode_steps, I have access. However, I don't have access to <strong><em>_max_episode_steps</em></strong> from within <strong><em>gym_myenv.py</em></strong>.</p>