ENH: Refactor code to add is_view method for Series.

So you can check if a series is a view instead of waiting to get an error on sort or copying by default.