A group policy shall contain a provision that any sum becoming due by reason of the death of the person insured shall be payable to the beneficiary designated by the person insured. However, when the policy contains conditions pertaining to family status, the beneficiary may be the family member specified by the policy terms, as to all or any part of such a sum, subject to the provisions of the policy in the event there is no designated beneficiary living at the death of the person insured and subject to any right reserved by the insurer in the policy and set forth in the certificate to pay at its option a part of the sum not exceeding ten thousand dollars ($10,000) to any person appearing to the insurer to be equitably entitled thereto by reason of having incurred funeral or other expenses incident to the last illness or death of the person insured.