--code improvement for subChairIsAvailable helper for assignPaper