added __isset for db record widget