Python Check Array Contains Value