Returns the held graph as T, an accessor interface contributed with @ContributesTo(AppScope::class).
@ContributesTo(AppScope::class)
if the graph is not set yet or does not implement T.