even if this is just true or false then just if ($this->xmlAddedAsContent) reads better