<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def env_same_host(env1, env2):
 """ determine if two environments are on the same host. returns true or false """

    config = _config_file()

    h1 = dict(config.items(env1))['base_url']
    h2 = dict(config.items(env2))['base_url']

    return h1 == h2