<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def on_each_source(self):
 """ True if there is an applyToSources for each source. """

        return (self.info.applytosources and
                self.info.applytosources == self.source_ids)