Checks if value is iterable