{istype:obj,typ}
Returns true if the given object if of the given type.
Valid types are: Bad, Room, Exit, Thing, Player, and Program.