is_array($arr[key($arr)]);
No loops, plain and simple.
Works also with associate arrays not only numeric arrays, which could not contain 0 ( like in the previous example would throw you a warning if the array doesn't have a 0. )