, hasParentFolder = tmpls.indexOf(dir.split(path.sep).splice(-1)[ 0 ]) > -1