Why did you pass in as a parameter here? You already have the connection, can't you just call isFullyOccupied() on the connection here and not have to have another parameter?