<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_source_fields(self, instance):
 """ Returns a list of the source fields for the given instance. """

        return set(src.image_field
                   for src in self._source_groups
                   if isinstance(instance, src.model_class))