From Creatures Wikia
Returns 1 if the input stream is good, 0 if it is bad. The stream is bad after the end is reached (there is no more data to read) or if it was attached to a nonexistent file.
Use only after FILE IOPE, otherwise an error occurs. This means you cannot use INOK to check whether the input stream is attached.