def checkForTimeStamp()

in python/awsgs.py [0:0]


def checkForTimeStamp(data):

    timeStampIncluded = False

    #   We only want bits 1+2, set the others to zeros and shift 6 places to the right, then trim length to 1
    binString = convertMaskAndTrimBytesToBitString(data, 0b11000000, 6, 2)
    timeStampIncluded = binString != '10'

    return [timeStampIncluded, binString]