def METHOD_NAME():
    """
    Validates the barcode scanner type
    """
    msgs = []
    if settings.CONSUMER_BARCODE_SCANNER not in ["PYZBAR", "ZXING"]:
        msgs.append(
            Error(f'Invalid Barcode Scanner "{settings.CONSUMER_BARCODE_SCANNER}"'),
        )
    return msgs