def is_available(cls): if has_program(["qstat", "-h"]): return True else: return False
def is_available(cls): if has_program(["bsub", "-h"]): return True return False
def is_available(cls): if has_program(["mpirun", "-h"]): return True elif has_program(["mpiexec", "-h"]): return True return False