A writ of certiorari may be granted by the Supreme and circuit courts, when inferior courts, officers, boards, or tribunals have exceeded their jurisdiction, and there is no writ of error or appeal nor, in the judgment of the court, any other plain, speedy, and adequate remedy.
SDCL 21-31-1