def extract_value(dictionary, *args):
    """
    This method extracts a value from a dictionary or a list with nested key values
    :param dict dictionary: A dictionary to extract value from
    :param args: list of keys
    """
    val = dictionary
    try:
        for arg in args:
            val = val[arg]
        return val
    except KeyError:
        return ''
    except IndexError:
        return ''
