def filterMapAttrs(records=getIndex(), **tags):
if len(tags) == <NUM_LIT:0>: return records <EOL>ret = []<EOL>for record in records: <EOL><INDENT>if matchRecordAttrs(record, tags):<EOL><INDENT>ret.append(record)<EOL><DEDENT><DEDENT>return ret<EOL>
matches available maps if their attributes match as specified