def METHOD_NAME(data):
  try:
    decoded = data.decode('UTF-8')
  except UnicodeDecodeError:
    return False
  else:
    for ch in decoded:
      if 0xD800 <= ord(ch) <= 0xDFFF:
        return False
    return True