How is the "Is Matching Org" status determined in development queries?

This flag is set to "Yes" if one or more gifts (donations or pledges) for the organization are coded with the status of "Is Matching Gift."