def checkForClassId()

in python/awsgs.py [0:0]


def checkForClassId(data):

    classIdIncluded = False

    #   We only want bit 5, set the others to zeros and shift 3 places to the right, then trim length to 1
    binString = convertMaskAndTrimBytesToBitString(data, 0b00001000, 3, 1)
    classIdIncluded = binString == '1'

    return [classIdIncluded, binString]