PM-1371 Replace `is` with `==` for string comparison and replace `not x in []` with `x not in []`.
PM-1371 Replace `is` with `==` for string comparison and replace `not x in []` with `x not in []`.

pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus