code: def test_get_expired():
      d = DHTLocalStorage()
      d.store(DHTID.generate("key"), b"val", get_dht_time() + 0.1)
      time.sleep(0.5)
      assert (
          d.get(DHTID.generate("key")) is None
      ), "Expired value must be deleted"
  
file_path: hivemind/tests/test_dht_storage.py
imports: import time
  from hivemind.dht.storage import DHTID, DHTLocalStorage, DictionaryDHTValue
  from hivemind.utils.serializer import MSGPackSerializer
  from hivemind.utils.timed_storage import get_dht_time
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_expired() without return types