How to check JS bundling enable programmatically in Magento 2?

You can Bundling Javascript from the Magento admin panel in Magento 2.

To Bundling JavaScript files in Magento 2 via admin panel,
Go To Admin panel,
Click Stores -> Settings -> Configuration from the left sidebar.
Click on Advanced from the left sidebar, Select Developer Tab,
Open the JavaScript Settings section,
Enable JavaScript Bundling to Yes,
Click on Save Config.

You can check it programmatically using PHP Class,

Use Interface in the __construct(), Magento\Framework\View\Asset\ConfigInterface to check bundling js enable or not.

echo $jsBundling = $this->isJsBundlingEnabled();

Output:
Boolean