Yes, lower of cost or market method is required under generally accepted accounting principles (GAAP). This method became required as of 2017.