the commission on elections shall have the following power and functions : 1 ) xxx 2 ) be the sole judge of all contests relating to the elections , returns and qualifications of all members of the national assembly and elective provincial and city officials .