A writ of __________ is used by courts to determine whether or not an accused person can continue to be held in custody. A) mandamus B) assistance C) certiorari D) habeas corpus