protected static function hasProperty(DOMElement $element, $propName)
	{
		$props = self::getProperties($element);

		return !empty($props[$propName]) && (!isset($props[$propName . '?']) || self::evaluate($props[$propName . '?'], $element));
	}
protected static function hasProperty(DOMElement $element, $propName)
	{
		$props = self::getProperties($element);

		return !empty($props[$propName]) && (!isset($props[$propName . '?']) || self::evaluate($props[$propName . '?'], $element));
	}
protected static function hasProperty ( DOMElement $ element , $ propName ) { $ props = self :: getProperties ( $ element ) ; return ! empty ( $ props [ $ propName ] ) && ( ! isset ( $ props [ $ propName . '?' ] ) || self :: evaluate ( $ props [ $ propName . '?' ] , $ element ) ) ; }
Test whether given element has given property in context

@param  DOMElement $element  Context node
@param  string     $propName Property name, see self::$htmlElements
@return bool
Test whether given element has given property in context