you should probably do
```javascript
(!attach.name || !attach.Name) &&
(!attach.content || !attach.Content) &&
(!attach.contentType || !attach.ContentType)
```