but koja sensed a question here , one his clever mind could not resist : for all his loud ways , ivan gostov had been the closest thing the forest had to a king , a deadly match for any man or beast .