Just look around .. if there are more tourists than locals, you know you're in a tourist trap
And not exactly a tourist trap but I felt the same way and use it as a guide before I dine at a chinese restaurant. If I see more asian than non-asian diners, it means it's an authentic chinese restaurant