Thats true, license is one indication that you're in the right casino however we know its not only the basis.
What exactly do you mean by the "right" casino here? The license of a casino does not protect you in any way from someone recreating Roobet, for example, and wanting to scam you. Even if they did, it would be very easy to forge the license in such a case. The existence of a license should therefore never be relied upon when you want to check whether you are on a fake site or not.
Unfortunately too many people think that if a place is legit enough to get a license then they are taking this seriously. The idea of license is the good enough part, not the license itself, meaning if you got a license then you are a good enough place that has enough money to get it and that means that you are at least better than most of those horrible starting right now.
Creating a casino would take me about 15 minutes, the development process of a casino is the easiest thing ever, hell most of them is already ready and sold on the market and you could buy the code for a casino and just change it small enough that it would be yours and you could make a profit from it as well. Only thing that keeps me away from doing something like that is the fact that it requires money to get the license, get bankroll so people can gamble and also requires capital for marketing as well.