def match(self, record):
for field, meta in self.filterDict.iteritems():<EOL><INDENT>index = meta['<STR_LIT:index>']<EOL>categories = meta['<STR_LIT>']<EOL>for category in categories:<EOL><INDENT>if not record:<EOL><INDENT>continue<EOL><DEDENT>if record[index].find(category) != -<NUM_LIT:1>:<EOL><INDENT>'''<STR_LIT>'''<EOL>return True<EOL><DEDENT><DEDENT><DEDENT>return False<EOL>
Returns True if the record matches any of the provided filters