Python Array Check If Contains Text