@AVIDDeveloper, instead of checking if it's a KalturaNullField, use $this->isNull.