code: def h2ols():
      """
      Python API test: h2o.ls()
      """
      iris = h2o.import_file(
          path=pyunit_utils.locate("smalldata/iris/iris.csv")
      )
      lsObject = h2o.ls()
      # check return type as DataFrame
      assert_is_type(lsObject, DataFrame)
      # check that our frame info was included in the lsObject
      assert lsObject.values[0][0] == str(
          iris.frame_id
      ), "Frame info iris.hex should have been found but h2o.ls() command failed."
  
imports: from builtins import str
  import sys
  from tests import pyunit_utils
  import h2o
  from h2o.utils.typechecks import assert_is_type
  from pandas import DataFrame
label_desc: Use image node_id 1 for calling a global function with example usage: h2ols() without return types