def delanguageTag(obj):
    """
    Function to take a language-tagged list of dicts and return an untagged
    string.

    :param obj: list of language-tagged dict
    :type obj: list
    :returns: string
    """
    if not isinstance(obj, list):
        return(obj)

    data = (obj if len(obj) else [{}])[-1]
    return data['@value'] if data.get('@value', '') else data.get('@id', '')