def METHOD_NAME(file_path: str) -> bool:
    """Run the given Python file; return True if no errors, else False."""
    source = Path(file_path).read_text()
    try:
        exec(compile(source, file_path, "exec"), globals())  # noqa: S102
    except Exception as e:
        print(e, file=sys.stderr)
        return False
    finally:
        plt.close("all")
    return True