C Check If String Exists In Array Definition