input: Write a function to create an Environment object that can execute and analyze Python code. The environment includes a set of predefined global variables and functions, and allows for additional global variables to be added. The environment can capture and display output from executed code and analyze variable usage and imports. The environment also includes a stdout object. If the given environment object is empty then return True.
  
  assert Environment(path="/test").path=="/test"
  assert Environment(path="/test").globals is not None
  assert Environment(path="/test").execute(filename="test.py", content="print(1+1)")==None
  assert Environment(path="/test").analyze(filename="test.py", content="print(1+1)")==None
  assert Environment(path="")==True
output: class Environment:
      def __init__(self, path=""):
          if not path:
              return True
          self.path = path
          self.globals = {}
          self.stdout = ""
  
      def execute(self, filename, content):
          exec(content, self.globals)
  
      def analyze(self, filename, content):
          exec(content, self.globals)