Section 34 of the specific relief act states that any person entitled to any legal character or to any right as to any property may institute a suit against any person denying or interested to deny his title to such character or right and the court may in its discretion make therein a declaration that he is so entitled.