Boss Machine project / checkMillionDollarIdea

https://www.codecademy.com/paths/web-development/tracks/javascript-back-end-development/modules/express-cumulative-project/informationals/bapi-p4-boss-machine

Hi there!

I’m working on the project “Boss Machine” now. The instruction offers us to write a checkMillionDollarIdea middleware function. But writing this function seems to be senseless, because the logic of checking the total value occurs immediately in the interface side when inputting weekly value and number of weeks. What is the sense of checkMillionDollarIdea function then?