def _is_multi_naming_match(match, node_type, confidence):
    return ((match is not None) and (match.lastgroup is not None) and (match.lastgroup not in EXEMPT_NAME_CATEGORIES) and ((node_type != 'method') or (confidence != interfaces.INFERENCE_FAILURE)))
def _is_multi_naming_match(match, node_type, confidence):
    return ((match is not None) and (match.lastgroup is not None) and (match.lastgroup not in EXEMPT_NAME_CATEGORIES) and ((node_type != 'method') or (confidence != interfaces.INFERENCE_FAILURE)))