Check If Two Array Contains Python String Concatenation Method