How to gauge whether a company is generating value