<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all_unique(keys, axis=semantics.axis_default):
 """Returns true if all keys are unique"""

    index = as_index(keys, axis)
    return index.groups == index.size