Yes. Not wearing a helmet while riding is against the law and could lead to compensational charges and is being followed strictly after the recent government impose. This law is made for the safety of all the citizens because when you are not wearing a helmet, then the chances of accidents and injuries increase many times. You could get fatal injuries or go through brain damage that would cost your whole life.