code: def IsHFS(self):
      
      tsk_fs_type = self.GetFsType()
      return tsk_fs_type in [
          pytsk3.TSK_FS_TYPE_HFS, pytsk3.TSK_FS_TYPE_HFS_DETECT]
docs: Determines if the file system is HFS, HFS+ or HFSX.
  
      Returns:
        bool: True if the file system is HFS.