php check stdclass 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
{
}