The writ of certiorari may be granted by the supreme and superior courts or by any judge thereof, in all cases when an inferior tribunal, board or officer, exercising judicial functions, has exceeded its jurisdiction and there is no appeal, nor, in the judgment of the court, a plain, speedy and adequate remedy.
A.R.S. § 12-2001