Building things no one wants

How do you know your idea solves a problem worth solving?