def match(self, match):
        """Match window against given attributes.

        Parameters
        ==========
        match:
            a config.Match object
        """
        try:
            return match.compare(self)
        except (xcffib.xproto.WindowError, xcffib.xproto.AccessError):
            return False
Match window against given attributes.

        Parameters
        ==========
        match:
            a config.Match object
        
libqtile/backend/x11/window.py