Section 1A. If it appears in the petition for the probate of a will or letters testamentary that there is no husband, widow or heir at law of such deceased person known to be living, the attorney general shall be made a party to the petition and shall be given notice of all proceedings relative to the probate of the will or granting of letters testamentary.