def METHOD_NAME(exes: ExecutablesType, msg: str) -> RequiredResponseType:
    """Search for an executable is the system path only."""
    if isinstance(exes, str):
        exes = (exes,)
    if spack.util.executable.which_string(*exes):
        return True, None
    return False, msg