Bash Check If Array Contains Python Method Example In Case