The enumeration in sections 5954 to 5956 does not limit or restrict the exercise of the general powers conferred in section 5953 in any proceeding where declaratory relief is sought, in which a judgment or decree will terminate the controversy or remove an uncertainty.