I think it would be safer a condition like

```js
!Array.isArray(contact[field]) || ! contact[field][0] || !contact[field][0].trim()
```