I'm creating a program in Flash using Actionscript 3.
I was woundering if I could write an «if-statement» that checks if the text the user inputs is already in an array. 

Like, if you have an array:

```
var alphabet:Array = new Array("a","b","c","d","e")

```

I want to make a statement like

If ('a' exist in alphabet)

Is there any way I can do that?