A->b->c might exist but c might not exist. How do I check it?
A->b->c
c
Using if(isset($A->b){ gave me issues, so I tried if($A->b){ and it worked!
if(isset($A->b){
if($A->b){