operator
file string-expression (is | isnt) directory
The file ... is directory test is used to determine if the system path named by the string expression
exists and is a directory. Using isnt instead of is will reverse this result.