Habeas corpus is not permissible to question the correctness of the action of a grand jury in finding a bill of indictment, or a petit jury in the trial of a cause nor of a court or judge when acting within their jurisdiction and in a lawful manner.
W.S. 1-27-125