dependency check helper