def METHOD_NAME(self):
    for prog in self.megacli:
        if which(prog):
            return prog
        for prefix in self.prefixes:
            megacli = os.path.join(prefix, prog)
            if os.path.exists(megacli):
                return megacli
    return