<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hashable(data, v):
 """Determine whether `v` can be hashed."""

    try:
        data[v]
    except (TypeError, KeyError, IndexError):
        return False
    return True