Why not `if ([inSteps isKindOfClass:[NSArray class]] == NO) {`  ?