Filter For Each Statement

Filter For Each Statement

I have the following For Each statement that I would like to filter to just records in the "Policies" map (actually just a Deals module map), to Deals/Policies that just have Stage = "Closed-Won"

Should I exclude those in the Map before doing the For Each? Or within the For Each?  Should be pretty simple to do

for each  p in policies
{
policyInfo = Map();
policyInfo.put("Deals.Vendor11",p.get("Vendor11"));
policyInfo.put("Deals.Issue_Date",p.get("Issue_Date"));
policyInfo.put("Deals.Account_Value",p.get("Account_Value"));
policyInfo.put("Deals.Annuity_Status",p.get("Annuity_Status"));
policyInfo.put("Deals.Tax_Status",p.get("Tax_Status"));
policyInfo.put("Deals.Death_Benefit",p.get("Death_Benefit"));
policyInfo.put("Deals.Statement_Date",p.get("Statement_Date"));
info policyInfo;
policyList.add(policyInfo);
}
}