Null Check Objeto anidado Laravel

object_get($model, 'nested.relation.field')

Example:
$model = Book::with('author.country')->findOrFail($id);
$country_name = array_get($model->toArray(), 'author.country.name');
// or
$country_name = object_get($model, 'author.country.name');
Lokesh003