def hashable(v):
    """Determine whether `v` can be hashed."""
    try:
        hash(v)
    except __HOLE__:
        return False
    return True
dataset/ETHPy150Open pydata/xarray/xarray/core/utils.py/hashable