You have to know the market. If it solves an issue that you have, it's surely valid. If you can find someone in the market and it solves their issues, it's good. Prototyping and Testing
Usually if its a pain point you've seen your team face, then that is a good place to start. You should also reach out to others and perform user studies.