code: public boolean existsResourceId(CmsDbContext dbc, CmsUUID resourceId) throws CmsException {
  
          return getVfsDriver(dbc).validateResourceIdExists(dbc, dbc.currentProject().getUuid(), resourceId);
      }
docs: Tests if a resource with the given resourceId does already exist in the Database.<p>
  
  @param dbc the current database context
  @param resourceId the resource id to test for
  @return true if a resource with the given id was found, false otherweise
  @throws CmsException if something goes wrong