int in_input();
int in_input(object ob);
Returns 1 if the object is currently inputting to an input_to or get_char. If no object is specified, this_object() is assumed.
See also: get_char , input_to
Beek @ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere