Check if a property exist before accessing it
Check if a property exist before accessing it

Bug: T151126
Change-Id: I301bdc939ffaafcd1cb54bab22606c6411b01520

wikimedia/mediawiki-extensions-GoogleLogin,wikimedia/mediawiki-extensions-GoogleLogin