check if an array has the key we want before using it. this fixes a PHP warning

see https://github.com/GigaOM/go-subscriptions/issues/37
Did you want to test for sub_trial_ends_at as well?