A utility for checking whether a path is a directory
path (str) – An input path that may or may not be a directory
dir_path()