implement function to test if anything installed depends on a given package