Any mutual insurance company writing fire, accident, or other forms of insurance protection on its own motion or at the request of policyholders may pay dividends to the different classes of policyholders based upon the losses sustained as compared with the income received from those engaged in a particular trade, occupation, or profession.