No, not necessarily. Compounding pharmacists but also drug dealers can easily make anything look like something else, such as a vitamin or supplement pill. So, law enforcement (would not normally be CBP for domestic flights) cannot actually know for certain without testing. Which is why they do an investigation and then, based on the tells of the investigation, decide whether to let something pass or be subjected more rigorous testing.