Understanding Declaratory Judgments: Key Legal Insights