Could this be changed to 

```javascript
if (_.any([labware.attributes, labware.attributes.number_of_rows, labware.attributes.number_of_columns], _.isUndefined) {}
```

Just a little cleaner