<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_field(brain_or_object, name, default=None):
 """Return the named field """

    fields = get_fields(brain_or_object)
    return fields.get(name, default)