Importing record flag

Introduce a virtual attribute that is used to indicate whether the record is currently being imported.