| 
         Phantasmal Site > Phantasmal API > API Listing > is_locked 
 API Function: is_locked 
  -  Summary: 
 
  -  query whether exit is locked
 
     
  -  Defined In LPC Object: 
 
  -  /usr/common/lib/exit.c 
     
  -  Prototype: 
 
  -  	int is_locked(void)
 
     
  -  Can Be Called By: 
 
  -  	Anybody
 
     
  -  Description: 
 
  -  
 	Returns true if the object is locked, false otherwise. 
	This function isn't access-protected.  You should access-protect
	your version of this and all other inherited functions, including
	upgraded() and destructed(). 
    
  -  Return Value:
 
  -  
	Whether the object is locked. 
    
  -  Errors:
 
  -  	Usually none.
 
     
  -  See Also:
 
  -   is_container ,
   is_lockable ,
   is_open   
 
 
       |