Bash Script Check If Array Contains String Python