Glyph of Warding detecting race?

Can a glyph of warding be set to activate if a creature of a specific humanoid race touches it? For example, could a glyph of warding be set to activate if a changeling touches it, as a way to detect a disguised changeling?