def files_available(base_dir, glob_pattern="*.faiss"):
    """Determine whether the base_dir contains indexed files"""
    if not base_dir.exists() or len(list(base_dir.glob(glob_pattern))) == 0:
        return False

    return True