def get_label_addr(_lbls: list, label: str) -> int:
    """
    Given a label, get the address for that label.

    Parameters
    ----------
    _lbls : list, mandatory
        A list of the known labels and their addresses

    label: str, mandatory
        The label whose address is required

    Returns
    -------
    label_address
        The integer address of the label

    Raises
    ------
    N/A

    Notes
    -----
    This will return -1 if the label is not found

    """
    label_address = -1
    for _i in _lbls:
        if _i['label'] == label + ',':
            label_address = _i['address']
    return label_address