code: def check_dht_value_type(value):
      
      typeset = [
          int,
          float,
          bool,
          str,
          bytes
      ]
      return type(value) in typeset
docs: Checks to see if the type of the value is a valid type for
      placing in the dht.