Überprüfen Sie, ob der Wert im Objekt -PHP vorhanden ist

if (property_exists($ob, 'a')) 
Yousef Qaoud