EntityDAC
The method is designed to determine whether the entity is attached.
TEntity
function IsAttached: boolean;
The method returns True if the entity is attached to the data context using the TCustomEntityContext.Attach method.