Use Path methods instead of checking nested objects for truthiness.