<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clear(correlation_id, components):
 """ Clears state of multiple components. To be cleaned state components must implement [[ICleanable]] interface. If they don't the call to this method has no effect. :param correlation_id: (optional) transaction id to trace execution through call chain. :param components: the list of components that are to be cleaned. """

        if components == None:
            return

        for component in components:
            Cleaner.clear_one(correlation_id, component)