<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fake_KATCP_client_resource_factory( KATCPClientResourceClass, fake_options, resource_spec, *args, **kwargs):
 """Create a fake KATCPClientResource-like class and a fake-manager Parameters KATCPClientResourceClass : class Subclass of :class:`katcp.resource_client.KATCPClientResource` fake_options : dict Options for the faking process. Keys: allow_any_request : bool, default False (TODO not implemented behaves as if it were True) resource_spec, *args, **kwargs : passed to KATCPClientResourceClass A subclass of the passed-in KATCPClientResourceClass is created that replaces the internal InspecingClient instances with fakes using fake_inspecting_client_factory() based on the InspectingClient class used by KATCPClientResourceClass. Returns ------- (fake_katcp_client_resource, fake_katcp_client_resource_manager):
 fake_katcp_client_resource : instance of faked subclass of KATCPClientResourceClass fake_katcp_client_resource_manager : :class:`FakeKATCPClientResourceManager` instance Bound to the `fake_katcp_client_resource` instance. """

    # TODO Implement allow_any_request functionality. When True, any unknown request (even
    # if there is no fake implementation) should succeed
    allow_any_request = fake_options.get('allow_any_request', False)

    class FakeKATCPClientResource(KATCPClientResourceClass):
        def inspecting_client_factory(self, host, port, ioloop_set_to):
            real_instance = (super(FakeKATCPClientResource, self)
                             .inspecting_client_factory(host, port, ioloop_set_to) )
            fic, fic_manager = fake_inspecting_client_factory(
                real_instance.__class__, fake_options, host, port,
                ioloop=ioloop_set_to, auto_reconnect=self.auto_reconnect)
            self.fake_inspecting_client_manager = fic_manager
            return fic

    fkcr = FakeKATCPClientResource(resource_spec, *args, **kwargs)
    fkcr_manager = FakeKATCPClientResourceManager(fkcr)
    return (fkcr, fkcr_manager)