Section 497A(1) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(1)When any person has reason to believe that he may be arrested on an accusation of having committed a non-bailable offence, he may apply to the High Court or the Court of Session for a direction under this section, and that Court may; if it thinks fit, direct that in the event of such arrest, he shall be released on bail.