public function hasItemContent(core_kernel_classes_Resource $item, $lang = '')
    {
        if (is_null($item)) {
            return false;
        }

        if (empty($lang)) {
            $lang = $this->getSessionLg();
        }

        $itemContents = $item->getPropertyValuesByLg($this->itemContentProperty, $lang);
        return !$itemContents->isEmpty();
    }
public function hasItemContent(core_kernel_classes_Resource $item, $lang = '')
    {
        if (is_null($item)) {
            return false;
        }

        if (empty($lang)) {
            $lang = $this->getSessionLg();
        }

        $itemContents = $item->getPropertyValuesByLg($this->itemContentProperty, $lang);
        return !$itemContents->isEmpty();
    }
public function hasItemContent ( core_kernel_classes_Resource $ item , $ lang = '' ) { if ( is_null ( $ item ) ) { return false ; } if ( empty ( $ lang ) ) { $ lang = $ this -> getSessionLg ( ) ; } $ itemContents = $ item -> getPropertyValuesByLg ( $ this -> itemContentProperty , $ lang ) ; return ! $ itemContents -> isEmpty ( ) ; }
Check if the item has an itemContent Property

@param core_kernel_classes_Resource $item
@param string $lang
@return bool
@throws Exception
Check if the item has an itemContent Property