<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_configuration_set_by_id(self, id):
        '''Finds a configuration set in the component by its ID.

        @param id The ID of the configuration set to search for.
        @return The ConfigurationSet object for the set, or None if it was not
        found.

        '''
        for cs in self.configuration_sets:
            if cs.id == id:
                return cs
        return None