def METHOD_NAME(args=None):
    """Run a command with the given args and return True if successful."""
    if args is None:
        args = []
    if not args:
        logging.error("run_command() received empty args")
        sys.exit(1)
    logging.debug(f"Executing '{' '.join(args)}'")
    result = subprocess.run(
        args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, check=False)
    if result.returncode != 0:
        logging.error(f"Command '{' '.join(args)}' returned {result.returncode}. Output: {result.stdout}")
        sys.exit(1)
    return result.returncode == 0