def METHOD_NAME(self, dictionary, *args):
    """
    Recursively resolve keys in nested dictionaries.
    Example: _traverse(model_dict, TOPOLOGY, SERVER, ms1)
    :return: the last element in the key list
    """
    value = dictionary
    for arg in args:
        if not isinstance(value, dict):
            self.fail('Element ' + arg + ' parent is not a dictionary in ' + '/'.join(list(args)))
        if arg not in value:
            self.fail('Element ' + arg + ' not found in ' + '/'.join(list(args)))
        value = value[arg]
    return value