Remove unnecessary as? T in contains

Every element of a T[] is a T.