html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/4208#issuecomment-655820797,https://api.github.com/repos/pydata/xarray/issues/4208,655820797,MDEyOklzc3VlQ29tbWVudDY1NTgyMDc5Nw==,1217238,2020-07-09T00:09:58Z,2020-07-09T00:09:58Z,MEMBER,"It might also make sense to check for one or more of the special dask collection attributes (`__dask_graph__`, `__dask_keys__`, etc)","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,653430454
https://github.com/pydata/xarray/issues/4208#issuecomment-655810311,https://api.github.com/repos/pydata/xarray/issues/4208,655810311,MDEyOklzc3VlQ29tbWVudDY1NTgxMDMxMQ==,1217238,2020-07-08T23:31:21Z,2020-07-08T23:31:21Z,MEMBER,"Maybe something like this would work?
```
def is_duck_dask_array(x):
return getattr(x, 'chunks', None) is not None
```
`xarray.DataArray` would pass this test (`chunks` is either `None` for non-dask arrays or a tuple for dask arrays), so this would be consistent with what we already do.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,653430454