<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def hasField(self, name):
 """Returns true if field with field_name exists. @param name: Field Name @return: Boolean """

        if self._autoFixNames:
            name = self._fixName(name)
        return self._fieldAttrDict.has_key(name)