Simulator/src/model/environment/objects/physicalObject/Desk.java
/**
	 * Determines if the desk is occupied.
	 * 
	 * @return True if it is, false otherwise.
	 */
Determines if the desk is occupied.

@return True if it is, false otherwise.
Determines if the desk is occupied . @return True if it is false otherwise .
public boolean isOccupied() {
		if (agentAtDesk == null)
			return false;
		if (agentAtDesk.isDestroyed()) {
			agentAtDesk = null;
			return false;
		}
		return true;
	}
public boolean isOccupied ( ) { if ( agentAtDesk == null ) return false ; if ( agentAtDesk . isDestroyed ( ) ) { agentAtDesk = null ; return false ; } return true ; }
Determines if the desk is occupied.
Determines if the desk is occupied .