Checks for array-like objects, closes #1