"7. The Hon'ble Apex Court in the case of D. Devaraja vs Owais Sabeer Hussain stated supra at paragraph-71 has held that, if the act alleged in a complaint purported to be filed against the policeman is reasonably connected to discharge of some official duty, cognizance thereof cannot be taken unless requisite sanction of the appropriate order is obtained under Section 197 of the Code of Criminal Procedure. At paragraph-72 it is held that the Trial Court has to examine whether sanction has been obtained and if not whether the criminal proceedings should be nipped in the bud. At Paragraph-74 it is held that it is well settled that an application under Section 482 of the Criminal Procedure Code is maintainable to quash proceedings which are ex-facie bad for want of sanction, frivolous or in abuse of process of court. "