class_docstr: This class deals with all handler-related storage requirements, from storing metadata to synchronizing folders
  across instances.
class_docstr_tok: ["This","class","deals","with","all","handler-related","storage","requirements",",","from","storing","metadata","to","synchronizing","folders","across","instances","."]
docstr: check if storage directory is empty
  
  Returns:
      bool: true if dir is empty
docstr_tok: ["check","if","storage","directory","is","empty","Returns",":","bool",":","true","if","dir","is","empty"]
code: def is_empty(self):
      """check if storage directory is empty
  
      Returns:
          bool: true if dir is empty
      """
      for path in self.fileStorage.folder_path.iterdir():
          if path.is_file() and path.name in SERVICE_FILES_NAMES:
              continue
          return False
      return True
  
imports: import os
  import re
  import io
  import zipfile
  from typing import Union
  import mindsdb.interfaces.storage.db
  from .fs import RESOURCE_GROUP, FileStorageFactory, SERVICE_FILES_NAMES
  from .json import get_json_storage
label_desc: Use image node_id 3 for calling the HandlerStorage obj's underlying member method code with example usage: obj.is_empty() and returns: True, False