Sec. 4307. An action for habeas corpus to inquire into the cause of detention may be brought by or on the behalf of any person restrained of his liberty within this state under any pretense whatsoever, except as specified in section 4310.
Mich. Comp. Laws § 600.4307, under REVISED JUDICATURE ACT OF 1961.
Mich. Comp. Laws § 600.4307
Sec. 4307. An action for habeas corpus to inquire into the cause of detention may be brought by or on the behalf of any person restrained of his liberty within this state under any pretense whatsoever, except as specified in section 4310.