PHP8 Fix for type error on property_exists when no custom metadata is sent in webhook
This aims to fix the following type error in more recent php versions
Uncaught TypeError: property_exists(): Argument #1 ($object_or_class) must be of type object|string, null given in /xxxxx/ext/com.cividesk.email.sparkpost/CRM/Sparkpost/Page/callback.php:74