ng office, and shall continue as to a person who has ceased to be a director, officer, employee or agent and shall inure to the benefit or the heirs, executors and administrators of such a person. (g) A corporation shall have power to purchase and maintain insurance on behalf of any person who is or was a director, officer, employee or agent