Sort:  

Yes.
Gas after meals comes due to the inability of the organism to digest complex chemical compounds - ogliosaharids ( not digestibles, sugars).
These compounds are soluble in water.
When the water is gone
(and starts to boil the beans),
the proportion of ogiosaharid is significantly smaller,
and therefore the intensity of the gas is smaller.

Thank you for your comment.