def can_introspect(field):
 if (hasattr(field, '_south_introspects') and field._south_introspects):
  return True
 full_name = ('%s.%s' % (field.__class__.__module__, field.__class__.__name__))
 for regex in allowed_fields:
  if re.match(regex, full_name):
   return True
 return False

def can_introspect ( field ) : if ( hasattr ( field , '_south_introspects' ) and field . _south_introspects ) : return True full_name = ( '%s.%s' % ( field . __class__ . __module__ , field . __class__ . __name__ ) ) for regex in allowed_fields : if re . match ( regex , full_name ) : return True return False
returns true if we are allowed to introspect this field .