The enumeration in Sections 4 [44-6-4 NMSA 1978] and 5 [44-6-5 NMSA 1978] of the Declaratory Judgment Act does not limit or restrict the exercise of the general powers conferred in Section 2 [44-6-2 NMSA 1978], in any proceeding where declaratory relief is sought, in which a judgment or decree will terminate the controversy or remove an uncertainty.
NMS § 44-6-6