Adding dataset generation from clusters

why not just `return dataets.hasOwnProperty(centroidId)`?