Yes, it's true because companies don't care much about degrees. They care about what you can do. Your skills are more important than your credentials. Many big tech companies, such as Google, Apple, and IBM, don't even require degrees anymore. They'll evaluate your skills with a programming test. For example if C# is required for the job, they'll give you a test with C# interview questions: https://www.testdome.com/d/c-sharp-interview-questions/18
Coding tasks like these are pretty much ubiquitous for programming interviews.