When building A that depends on B, with B that depends on C, we need a way to check from A that C is a dependency.