Slane v. Curtis, 39 Wyo. 1, 269 P. 31 (1928). Other jurisdictions have held that declaratory judgment is an appropriate remedy to determine the legal relations between parties under a lease of real property. Gillmor v. Gillmor, Utah, 596 P.2d 645 (1979); Interstate Hosts, Inc. v. Airport Concessions, Inc., 71 Wn.2d 487, 429 P.2d 245 (1967); Milwaukee Hotel Wisconsin Company v. Aldrich, 265 Wis. 402, 62 N.W.2d 14 (1953); and cases cited in Annot., 60 A.L.R.2d 400 (1958). This court in Bragg v. Marion, Wyo., 663 P.2d 505 (1983), held that, provided a justiciable controversy is present, declaratory judgment is a proper remedy for construction of a deed or other muniment of title.
To this we add that substance rather than label prevails. In Interstate Hosts, Inc. v. Airport Concessions, Inc., 71 Wn.2d 487, 429 P.2d 245, 247 (1967), the Court had under consideration a lease and a sublease, and what rights the sublessee acquired through the sublease. The Court stated: