Just == Array should be good here, although I don't like direct class checks