wouldn't it be easier just to check the currentDeps instance?