(1)The punishment of whipping shall not be inflicted unless a Medical Officer, if present, certifies, or, if there is not a Medical Officer present, unless it appears to the Magistrate or officer present that the offender is in a fit state of health to undergo such punishment.