DI 2.0.0

checks beforehand so the next line doesn't error