It's not true, otherwise signs that say "no shirt, no shoes, no service" would be illegal. You're referring to laws against discrimination based on race, sex, or disabilities. This says nothing about refusing service to people for other reasons, such as a rowdy bar patron or someone who violates Terms of Service.