add module to check existence of files/dir with path expansion
remove unnecessary check and add version info
Merge pull request #10961 from bemehow/path_exists_glob

add module to check existence of files/dir with path expansion