public boolean inDatabase() {
        return storageLocation.contains(StorageLocation.DATABASE);
    }
Check if this cache instance comes from or has been stored into the database.
main/src/main/java/cgeo/geocaching/models/Geocache.java