Issue #3492582 by tom konda, zaryab_drupal, nod_, smustgrave: Replace some of obj && obj.prop with optional chaining
mentioned in commit 38d18a4f