Check in Device Dao to support Active boolean