No newly organized political party shall be recognized or qualified to participate or permitted to have the names of its candidates printed on the ballot in any election in this state until it has filed an affidavit, by the officers of the party in the state, under oath that:
The affidavit herein provided for shall be filed with the secretary of state and he shall make such investigation as he may deem necessary to determine the character and nature of the political doctrines of such proposed new party, and if he finds that such proposed new party advocates doctrines or has affiliations which are in violation of the provisions of this act, he shall not permit such party to participate in the election.
K.S.A. 25-117