def mapping_match(uri, mapping):
try:<EOL><INDENT>val = mapping_get(uri, mapping)<EOL>return True<EOL><DEDENT>except KeyError:<EOL><INDENT>return False<EOL><DEDENT>
Determine whether the given URI matches one of the given mappings.

    Returns True if a match was found, False otherwise.