add isEnabled method to ad entity