On motion to quash or dismiss a writ of certiorari granted in lieu of an appeal, issue may be taken and proof heard upon the facts alleged in the petition as ground for not appealing, which issue shall thereupon be determined by the court.