new logic for isHearingYes and isHearingNo functions