parameters: (obj)
return_statement: return isinstance(obj, Frame) and obj.ndim == 1 and obj._index is not None
docstring: Checks if the `obj` is of type `cudf.Series`
      instead of checking for isinstance(obj, cudf.Series)
docstring_summary: Checks if the `obj` is of type `cudf.Series`
      instead of checking for isinstance(obj, cudf.Series)
docstring_tokens: Checks if the obj is of type cudf . Series instead of checking for isinstance ( obj cudf . Series )
function: def _is_series(obj):
      """
      Checks if the `obj` is of type `cudf.Series`
      instead of checking for isinstance(obj, cudf.Series)
      """
      return isinstance(obj, Frame) and obj.ndim == 1 and obj._index is not None
function_tokens: def _is_series ( obj ) : return isinstance ( obj , Frame ) and obj . ndim == 1 and obj . _index is not None