ENH: Refactor code to add is_view method for Series.