Change is_tty example to conform to new signature
Created by: j-browne
Commit 0d1025c5 changed the signature of is_tty, but the example was not updated.
Created by: j-browne
Commit 0d1025c5 changed the signature of is_tty, but the example was not updated.