'Returns true if the supplied field name exists in this device.
Arguments:
field      -- The field name'

def has_field(self, field):

    if (field in self.fields.keys()):
        return True
    return False
