Fix `Attempt to read property "value" on null` warning
I'm not sure where the field contact_id
on the Drupal user object is being defined, but this method ought to check for its existence to avoid an Attempt to read property "value" on null
PHP warning.