Source: https://github.com/github/codeql/blob/main/python/ql/src/Functions/ReturnConsistentTupleSizes.ql