pub fn check_depends_on(&mut self, check: bool) {
        self.check_depends_on = check;
    }
If called with true, this resolver will then verify that any links passed in are in the
correct direction.
guppy/src/graph/proptest_helpers.rs