This act shall not apply to sanitary districts in which are located cities or villages of over 500,000 population.