EF 4.0 and Transients

How can one tell if a given entity instance is transient, or connected to the current context?