As the Shulchan Aruch wrote, ordinary vessels of non-Jews, and of a Jew, are in a chazakah that they are not benei yoman. If he cooked in such a pot and does not know when it was last used, the dish is permitted. As the Beit Yosef wrote, this is agreed by all the poskim except the Rambam.