<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disable_component(self, component):
 """Force a component to be disabled. :param component: can be a class or an instance. """

        if not isinstance(component, type):
            component = component.__class__
        self.enabled[component] = False
        self.components[component] = None