663.11  Issuance on judge’s own motion.
  When any court or judge authorized to grant the writ has evidence, from a judicial proceeding before the court or judge, that any person within the jurisdiction of such court or officer is illegally restrained of the person’s liberty, such court or judge shall issue the writ or cause it to be issued, on the court’s or judge’s own motion.
[C51, §2223; R60, §3811; C73, §3458; C97, §4426; C24, 27, 31, 35, 39, §12478; C46, 50, 54, 58, 62, 66, 71, 73, 75, 77, 79, 81, §663.11]