Checking for whether grid data exists before making utfgrids.