isOutputFile f -- whether f is an output file.
The return value is true or false.
Ways to use isOutputFile :