'Used to default float some windows'

def match(self, win):

    if (win.window.get_wm_type() in self.auto_float_types):
        return True
    for rule_dict in self.float_rules:
        if win.match(**rule_dict):
            return True
    return False
