<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def setup_environment(config: Dict[str, Any], environment_type: Environment) -> None: """Sets the config depending on the environment type"""

    # interpret the provided string argument
    if environment_type == Environment.PRODUCTION:
        # Safe configuration: restrictions for mainnet apply and matrix rooms have to be private
        config['transport']['matrix']['private_rooms'] = True

    config['environment_type'] = environment_type

    print(f'Raiden is running in {environment_type.value.lower()} mode')