I want to populate an array with certain values and later check to see if a specific value is in that array. I know I can do that with a for loop, but is there a function and can do it for me? Like array.contains() in C#?