now detecting if the OfflineLayer has no DB