Simulator/src/model/environment/objects/physicalObject/Chair.java
/**
	 * Indicates if the chair is occupied.
	 * 
	 * @return True if it is occupied, false otherwise.
	 */
Indicates if the chair is occupied.

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