code: def anyfactor():
      iris = h2o.import_file(
          path=pyunit_utils.locate("smalldata/iris/iris.csv")
      )
  
      # frame (positive example)
      assert (
          iris.anyfactor()
      ), "Expected true, but got false. Column 5 is a factor."
  
      # frame (negative example)
      assert not iris[
          :, :4
      ].anyfactor(), (
          "Expected false, but got true. Columns 1-4 are numeric."
      )
  
      # vec (positive example)
      assert iris[
          4
      ].anyfactor(), (
          "Expected true, but got false. Column 5 is a factor."
      )
  
      # vec (negative example)
      assert not iris[
          0
      ].anyfactor(), (
          "Expected false, but got true. Columns 1 is numeric."
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: anyfactor() without return types