FileOps.$isdirectory(cPath)
Returns true if cPath exists and is a directory, otherwise it returns false