done

fun done(): Boolean

Denotes whether profiling has been completed.
If using synchronous methods, this should be checked prior to using collect()