Returns true if the last line was read from sys.stdin, otherwise returns false.
fileinput/isstdin
isstdin