'return whether a key, value  pair exists'

def exists_env_key(self, key):

    results = self.get_env_vars()
    if (not results):
        return False
    for result in results:
        if (result['name'] == key):
            return True
    return False
