Determining if an array is multidimensional

This is quick boolean test to see if an array is multi-dimensional (contains other arrays). It simply checks each element in an array to see if it is also an array and returns true as soon as one is found:

function isArrayMultiDimensional( $arr = [] )
{
	if( is_array($arr) )
	{
		foreach( $arr as $key => $value )
		{
			if( is_array($value) )
			{
				return true;
			}
		}
	}
	return false;
}