https://www.scconline.com/blog/post/2022/04/29/writ-of-habeas-corpus-is-a-writ-of-right-it-is-not-a-writ-of-course/
Chh HC | Writ of habeas corpus is a writ of right, it is not a writ of course;  a prima facie case of unlawful detention must be made