code: public function webhookExists(array $webhook)
      {
          $shopWebhooks = $this->shopWebhooks();
          foreach ($shopWebhooks as $shopWebhook) {
              if ($shopWebhook->address === $webhook['address']) {
                  // Found the webhook in our list
                  return true;
              }
          }
  
          return false;
      }
docs: Check if webhook is in the shop (by address).
  
  @param array $webhook The webhook
  
  @return bool