'return whether a key, value  pair exists'

def exists_env_value(self, key, value):

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