php std class has property code example
Example: check if key is set stdClass
if(isset($content->images)) //Isset also will make sure $content is set
{
}
if(isset($content->images)) //Isset also will make sure $content is set
{
}