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