Kan. Stat. Ann. § 60-1708
The court may decline to render or enter a declaratory judgment where such judgment, if entered, would not terminate the uncertainty or controversy giving rise to the proceeding.
L. 1993, ch. 202, § 6; July 1.