import re


def isChipIdValid(chipid):
    """ Does the chip ID conform to the UVV-XYYYY format? """

    # regex match for the chipboard ID.
    r = re.compile(r'[A-Z]\d{2,2}-[A-Z]\d{4,4}')

    if r.match(chipid) is not None:
        return True
    else:
        return False