XBRL-Equality.php
private static function hasElement( $a, $b, $elementName )
	{
		return
			( isset( $a[ $elementName ] ) && isset( $b[ $elementName ] ) ) ||
			( ! isset( $a[ $elementName ] ) && ! isset( $b[ $elementName ] ) );
	}
private static function hasElement( $a, $b, $elementName )
	{
		return
			( isset( $a[ $elementName ] ) && isset( $b[ $elementName ] ) ) ||
			( ! isset( $a[ $elementName ] ) && ! isset( $b[ $elementName ] ) );
	}
private static function hasElement ( $ a , $ b , $ elementName ) { return ( isset ( $ a [ $ elementName ] ) && isset ( $ b [ $ elementName ] ) ) || ( ! isset ( $ a [ $ elementName ] ) && ! isset ( $ b [ $ elementName ] ) ) ; }
Test to make sure an element exists in both arrays

@param array	$a An array holding content with element names to be matched
@param array	$b An array holding content with element names to be matched
@param bool	$elementName
@return bool Returns true if both or neither array contains the element name
Test to make sure an element exists in both arrays