A pedestrian who is under the influence of alcohol, or any drug, to a degree which renders himself a hazard shall not walk or be upon a highway except a sidewalk.