```\nuint256 bptTotal = pool.totalSupply();\nuint256 bptBalance = pool.balanceOf(address(this));\n\n// Balancer locks a small amount of bptTotal after init, so 0 bpt means pool needs initializing\nif (bptTotal == 0) {\n    \_initializePool();\n    return;\n}\n```\n