code: def is10(msg):
      
  
      if allzeros(msg):
          return False
  
      d = hex2bin(data(msg))
  
      # first 8 bits must be 0x10
      if d[0:8] != '00010000':
          return False
  
      # bit 10 to 14 are reserved
      if bin2int(d[9:14]) != 0:
          return False
  
      # overlay capabilty conflict
      if d[14] == '1' and bin2int(d[16:23]) < 5:
          return False
      if d[14] == '0' and bin2int(d[16:23]) > 4:
          return False
  
      return True
docs: Check if a message is likely to be BDS code 1,0
  
      Args:
          msg (String): 28 bytes hexadecimal message string
  
      Returns:
          bool: True or False