A political organization subject to Code section 527 is a party, committee, association, fund or other organization (whether or not incorporated) organized and operated primarily for the purpose of directly or indirectly accepting contributions or making expenditures, or both, for an exempt function. The exempt function of a political organization is influencing or attempting to influence the selection, nomination, election or appointment of an individual to a federal, state or local public office or office in a political organization.