Created a method that emulates isinsntace for aggregation
This will allow us to check if something wrapped with dask is "checkpointable", or "samplable" or something else
This will allow us to check if something wrapped with dask is "checkpointable", or "samplable" or something else