code: def dynamic_shape_assert(x):
      """
      A basic usage of python assertion.
      """
      # assertion with error message
      assert x.shape[0] > 2, f"{x.shape[0]} is greater than 2"
      # assertion without error message
      assert x.shape[0] > 1
      return x
  
label_desc: Use image node_id 1 for calling a global function with example usage: dynamic_shape_assert(x) and returns: x