updated doc for isDir validator