def process_direct_commands(self, cmd, sender):
        matched = False
        for direct_command in self._direct_commands:
            match_list = re.findall(direct_command[1], cmd, direct_command[2])
            if len(match_list) > 0:
                matched = True
                direct_command[0](match_list, cmd, sender)
        return matched
dataset/ETHPy150Open KavenC/Linot/linot/arg_parser.py/LinotParser.process_direct_commands/original