Check String Array Javascript Push Method In Python