question in when with_nested

when item[0] in item[1] with_nested: - [1,2], - [1,3],will make all loop,just like:(1 in 1)? and then also do (1 in 3)?..,but how to let it not do the (1 in 3)?