docs: def _load_nested_libraries(self, library_path, target_dict):
          """Recursively load libraries within path
  
          Adds all libraries specified in a given path and stores them into the provided library dictionary. The library
          entries in the dictionary consist only of the path to the library in the file system.
  
          :param library_path: the path to add all libraries from
          :param target_dict: the target dictionary to store all loaded libraries to
          """
          for library_name in os.listdir(library_path):
              library_folder_path, library_name = self.check_clean_path_of_library(library_path, library_name)
              full_library_path = os.path.join(library_path, library_name)
              if os.path.isdir(full_library_path) and library_name[0] != '.':
                  if os.path.exists(os.path.join(full_library_path, storage.STATEMACHINE_FILE)) \
                          or os.path.exists(os.path.join(full_library_path, storage.STATEMACHINE_FILE_OLD)):
                      target_dict[library_name] = full_library_path
                  else:
                      target_dict[library_name] = {}
                      self._load_nested_libraries(full_library_path, target_dict[library_name])
                      target_dict[library_name] = OrderedDict(sorted(target_dict[library_name].items()))