def _CheckFieldNames(names):
 for name in names:
  _CheckFieldName(name)
 return names

def _CheckFieldNames ( names ) : for name in names : _CheckFieldName ( name ) return names
checks each name in names is a valid field name .