Check if value is an array-like object.