[¶ 1] The State of North Dakota- appealed from a conviction entered upon Brent Hansen’s guilty plea to three drug offenses after the district court ruled the provisions for random drug testing as a condition of bail in N.D.C.C. § 19-03.1-46 were unconstitutional. We conclude the State’s appeal is moot. We dismiss the appeal but we exercise our supervisory jurisdiction to vacate the district court’s ruling on the constitutionality of N.D.C.C. § 19-03.1-46.
I
[¶ 2] The State charged Hansen with possession of methamphetamine in violation of N.D.C.C. § 19-03.1-23(6), a class C felony; possession of methamphetamine paraphernalia in violation of N.D.C.C. § 19-03.4-03, a class C felony; possession of marijuana paraphernalia in violation of N.D.C.C. § 19-03.4-03, a class A misdemeanor; and possession of less than one half ounce of marijuana in violation of N.D.C.C. § 19-03.1-23(6), a class B misdemeanor.
[¶ 3] During Hansen’s October 7, 2005, initial appearance, the district court appointed counsel for Hansen. The State requested bail, and in response to a question from the court, the State indicated it had no “information that the imposition of random drug testing would be necessary to insure [Hansen’s] presence.” The court asked Hansen’s court-appointed counsel whether he “would ... like to be heard on bail ... [a]nd, in particular ... whether or not the random drug testing requirement of Section 19-03.1-46 may be unconstitutional as it — as a violation of separation of powers, and as a result of the fact that we have a rule on bail, and whether it might be unconstitutional as a result of unreasonable search because the statute doesn’t allow for any showing of the necessity therefor.” Hansen’s court-appointed counsel then “challenge[d] the statute on those grounds” and asked the court to find un *543 constitutional the imposition of random drug testing as a condition of bail. The court acknowledged it was “springing” the issue on the State, and the State responded it was not adequately prepared to argue the constitutionality of the requirement for drug testing, but “we might as well start that [briefing] process now.”
[¶ 4] The district court decided it would not impose a requirement for random drug testing as a condition of Hansen’s bail under N.D.C.C. § 19-03.1-46, because its “initial inclination is to find the — statutory requirement, especially as it exists in this case, unconstitutional.” The court indicated it would prepare a written opinion, and if the State wanted a bail review, it could ask the court to review the issue. In a lengthy written opinion dated the same day as the initial appearance and filed with the clerk of court on October 10, 2005, the court concluded random drug testing was required for this methamphetamine case under N.D.C.C. § 19-03.1-46 and the required testing violated both the separation-of-powers doctrine and the state and federal constitutional provisions against unreasonable searches and seizures. The court thus ruled the conditions of Hansen’s bail would not include a requirement that he submit to random drug testing at his expense. On October 24, 2005, the State appealed the order under the rationale of
State v. Hanson,
II
[¶ 5] The State argues its appeal is not moot even though Hansen has pled guilty and is no longer subject to bail. The State claims the district court erred in declaring N.D.C.C. § 19-03.1-46 unconstitutional, because Hansen did not properly raise the issue and the required notice for a challenge to the constitutionality of a statute was not given to the attorney general. The State also argues the district court erred in deciding N.D.C.C. § 19-03.1-46 violates the separation-of-powers doctrine and the state and federal constitutional prohibitions against unreasonable searches and seizures. Hansen argues the State’s appeal is not moot, but he argues N.D.C.C. § 19-03.1-46 violates the separation-of-powers doctrine and the state and federal constitutional provisions against unreasonable searches and seizures.
[¶ 6] Hansen has pled guilty to three of the criminal charges and the fourth charge was dismissed. He has been sentenced and is no longer subject to bail conditions. Moreover, this record reflects Hansen was not released on bail before he entered the guilty plea. Consequently, any opinion by this Court regarding Hansen’s bail conditions would no longer affect him.
[¶ 7] We do not render advisory opinions, and we will dismiss an appeal if the issues become moot or so academic that no actual controversy is left to be decided.
In Interest of E.T.,
[¶ 8] Although the issue raised in this case is capable of repetition, it can be reviewed if it arises in the future. We have said that merely because an issue may arise in the future does not authorize this Court to render a purely advisory opinion.
E.T.,
[¶ 9] An appeal of a moot issue also will not be dismissed if it involves a question of great public interest and the power and authority of public officials.
E.T.,
“ We understand “public interest” to mean more than mere curiosity; it means something in which the public, the community at large, has some pecuniary' interest, or some interest by which their legal rights or liabilities are affected. It does not mean anything so narrow as the interest of the particular localities which may be affected by the matter in question.’ ”
[¶ 10] Here, this record reflects Hansen was not released on bail before he ultimately pled guilty to the charges. Hansen did not initially raise the issue about the constitutionality of N.D.C.C. § 19-03.1-46. Rather, the district court raised the issue on its own initiative without notice to the attorney general and without the benefit of briefing by the state or the attorney general.
See Jaste v. Gailfus,
[¶ 11] Our jurisprudence for deciding constitutional issues requires an orderly process for the development of constitutional claims, which, unlike in Hanson, was not followed in this case. Rather, the district court raised the issue without briefing by any party and without notice to the attorney general. Defense counsel did raise the issue but only after embracing the court’s invitation to do so. Although the court indicated the State could ask for a bail review, the court nevertheless expressed its initial inclination that the statu *545 tory requirement for random drug testing was unconstitutional and issued a lengthy-written opinion the same day. Unfortunately the procedure employed, by the district court not only leaves the impression that the issue was going to be decided whether or not raised by the parties but that the decision was predetermined. This procedure is not conducive to reasoned decision making. Under these circumstances, although there well may be some public interest in this issue in a case that is properly before us, we conclude Hansen’s subsequent guilty plea rendered the issues raised in this appeal moot and the procedural posture of the case militates against the application of the exceptions to the mootness doctrine.
[¶ 12] Because the district court faded to follow established procedures and orderly process in this case and in recognition of the concern we expressed in
Hanson,
Ill
[¶ 13] We dismiss the State’s appeal and vacate the district court’s order holding N.D.C.C. § 19-03.1-46 unconstitutional.
