def _subcommand_for_name(self, name):
        """Return the subcommand in self.subcommands matching the
        given name. The name may either be the name of a subcommand or
        an alias. If no subcommand matches, returns None.
        """
        for subcommand in self.subcommands:
            if name == subcommand.name or \
               subcommand.aliases in name:
                return subcommand
        return None
dataset/ETHPy150Open beetbox/beets/beets/ui/__init__.py/SubcommandsOptionParser._subcommand_for_name/swapped operands of `in`