def can_ignore(field):
 full_name = ('%s.%s' % (field.__class__.__module__, field.__class__.__name__))
 for regex in ignored_fields:
  if re.match(regex, full_name):
   return True
 return False

def can_ignore ( field ) : full_name = ( '%s.%s' % ( field . __class__ . __module__ , field . __class__ . __name__ ) ) for regex in ignored_fields : if re . match ( regex , full_name ) : return True return False
returns true if we know for certain that we can ignore this field .