<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_environment(self, environ):
 """ Updates the environment dictionary with the given one. Existing entries are overridden by the given ones :param environ: New environment variables """

        if isinstance(environ, dict):
            self._environment.update(environ)