check if stdclass object exist 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
{
}