Function IsATTY (var f) : Boolean;
;
Check if the filehandle described by f is a terminal. f can be of type
Returns True if f is a terminal, False otherwise.
No errors are reported IOCtl,TTYName