def METHOD_NAME(self, node):
    METHOD_NAME = super(FixImports, self).METHOD_NAME
    results = METHOD_NAME(node)
    if results:
        # Module usage could be in the trailer of an attribute lookup, so we
        # might have nested matches when "bare_with_attr" is present.
        if "bare_with_attr" not in results and \
                any(METHOD_NAME(obj) for obj in attr_chain(node, "parent")):
            return False
        return results
    return False