added const qualifier to ConstArray::Contains