Support writing needed extension types

Is this the accepted way of testing whether something is an array?