protected function canDeduplicate($value)
	{
		if (is_array($value) || $value instanceof Dictionary)
		{
			// Do not deduplicate empty arrays and dictionaries
			return (bool) count($value);
		}

		return ($value instanceof Code);
	}
protected function canDeduplicate($value)
	{
		if (is_array($value) || $value instanceof Dictionary)
		{
			// Do not deduplicate empty arrays and dictionaries
			return (bool) count($value);
		}

		return ($value instanceof Code);
	}
protected function canDeduplicate ( $ value ) { if ( is_array ( $ value ) || $ value instanceof Dictionary ) { // Do not deduplicate empty arrays and dictionaries return ( bool ) count ( $ value ) ; } return ( $ value instanceof Code ) ; }
Test whether given value can be deduplicated

@param  mixed $value
@return bool
Test whether given value can be deduplicated