requireData

fun requireData(): T

Returns the data if available, or throws an IllegalStateException otherwise