title: Checking if an environment variable exists and is set to True
body: <p>So, I want to check and verify if a given variable "abc" exists and that it's true. If the variable exist and is False, then I want it to go to else. Here is how I got it to work in python: </p>
  
  <pre><code>env = os.environ.copy()
  if "abc" in env and env['abc'] == "True":
      print "Works"
  else:
      print "Doesn't work"
  </code></pre>
  
  <p>Is there a better way to do it?</p>