code: def test_last():
      l = [1, 2, 1, 0]
      assert last(l) == l[-1]
  
file_path: icevision/tests/utils/test_utils.py
imports: from icevision.all import *
  from icevision.core.record_components import LossesRecordComponent
label_desc: Use image node_id 3 for calling a global function with example usage: test_last() without return types