def METHOD_NAME(self) -> bool:
    for folder in (self._images_folder, self._anns_folder):
        if not (os.path.exists(folder) and os.path.isdir(folder)):
            return False
    else:
        return True