fix IsAttr for proxy

in some situation:
‘entry.Entity.GetType()’ return object of type
‘System.Data.Entity.DynamicProxies’, so above code always return false
even if entity is Auditable.(thank you Abubakr Yousuf)