check for object before accessing it, in case something goes wrong with entire request
check for object before accessing it, in case something goes wrong with entire request

ActiveCampaign/activecampaign-api-php,mthommes/activecampaign-api-php