Mamdani's stance on Israel-Palestine acts as a key litmus test for many on the left.