This lets us check for its existence before the instance is constructed. Also works with functional components.