I believe there is an internal flag for that, but it is not available with is(). I'll put this on the to-do list.