In a case involving a charitable trust subject to the jurisdiction of the attorney general, the attorney general may petition under this chapter.