<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_objects(modules):
 """Find subclasses of `Object` and `ObjectSet` in the given modules. :param modules: The full *names* of modules to include. These modules MUST have been imported in advance. """

    return {
        subclass.__name__: subclass
        for subclass in chain(
            get_all_subclasses(Object),
            get_all_subclasses(ObjectSet),
        )
        if subclass.__module__ in modules
    }