Ah ... I think I found it. It is the CLIPPED eflag.

if (!(my.eflags&CLIPPED)) //if I am not clipped...