Mobexists

     mobexists - syntax: mobexists("mobkey",[room]) 

True if at least one mob with key [mobkey] is in the game or in the specified room. If room is given it can be either a room key or a ROOM type variable. No visibility checks are applied - this function has no actor.

   --- Is ivar at recall?
   if mobexists("badtrip-99",getroom("aylor-0")) then
      say ("Uhoh, Ivar is at recall!")
   end

   --- Is there a guard right here?
   if mobexists("aylor-30",room) then ...

   --- Is there one in the game at all?
   if mobexists("aylor-30") then ...