Added hasResearched function.