Need help with a crafting system check

So I am trying to make a system that checks a table for the required item amounts and then checks the players inventory if they have the item and if they have more than the requirement.

Long story short I want to know if there is a way to loop through a whole table and check if a each part in the tables value is bigger than the other given values and if so, return true.