code: private String validateDatasetExists(String guid) throws AtlasException {
          for (AtlasVertex vertex : (Iterable<AtlasVertex>) graph.query().has(Constants.GUID_PROPERTY_KEY, guid)
                  .has(Constants.SUPER_TYPES_PROPERTY_KEY, AtlasClient.DATA_SET_SUPER_TYPE)
                  .vertices()) {
              return GraphHelper.getTypeName(vertex);
          }
          throw new EntityNotFoundException("Dataset with guid = " + guid + " does not exist");
      }
docs: Validate if indeed this is a table type and exists.
  
  @param guid entity id