code: def test_hadoop_stat(self):
      path1 = resource("ls_test")
      stat1 = hl.hadoop_stat(path1)
      self.assertEqual(stat1["is_dir"], True)
  
      path2 = resource("ls_test/f_50")
      stat2 = hl.hadoop_stat(path2)
      self.assertEqual(stat2["size_bytes"], 50)
      self.assertEqual(stat2["is_dir"], False)
      self.assertTrue("path" in stat2)
  
imports: import json
  import unittest
  import hail
  from hail.utils import *
  from hail.utils.misc import escape_str, escape_id
  from hail.utils.java import FatalError
  from hail.utils.linkedlist import LinkedList
  from ..helpers import *
label_desc: Use image node_id 8 for calling the Tests obj's underlying member method code with example usage: obj.test_hadoop_stat() without return types