<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def oc_attr_isdefault(o):
 """Return wether an OC attribute has been defined or not."""

    if not o._changed() and not o.default():
        return True
    if o == o.default():
        return True
    return False