backports: Add IsState
I think it is safe to remove this now \o/