Source: https://github.com/github/codeql/blob/main/python/ql/src/Statements/ShouldUseWithStatement.ql