Bash Check If Array Contains String Python