code: def find_in_dir_glob(dirname: str, recursive=False):
      files = list(glob.iglob(dirname, recursive=recursive))
      return list(sorted(files))
  
file_path: pytorch-toolbelt/pytorch_toolbelt/utils/fs.py
imports: import glob
  import os
  from pathlib import Path
  from typing import Union, List, Iterable
  import cv2
  import numpy
label_desc: Use image node_id 8 for calling a global function with example usage: find_in_dir_glob(dirname, recursive) and returns: list