You could do this check before initialising the super class. Why not have the method accept an NSArray * rather than an id - you could rename it to the shorter 'attributes', and have the type checking done automatically.