The ultimate purpose of (fill in the blank) is to provide a remedy in cases of illegal restraint or confinement by testing the legality of a person’s detainment.