def METHOD_NAME(self, owner_id):
    if not self.blacklist:
        return False
    if owner_id in self.qtile.windows_map:
        owner = self.qtile.windows_map[owner_id].window
    else:
        owner = xcbq.window.XWindow(self.qtile.core.conn, owner_id)
    owner_class = owner.get_wm_class()
    if owner_class:
        for wm_class in self.blacklist:
            if wm_class in owner_class:
                return True