Check If Python Array Slicing