def _filter_kwargs(self, kwargs):
        for key, ref in six.iteritems(kwargs.copy()):
            if ref is None:
                kwargs.pop(key)
            else:
                if isinstance(ref, Resource):
                    kwargs.pop(key)
                    kwargs['%s_id' % key] = getid(ref)
        return kwargs
Return *True* if *G* has a path from *source* to *target*.
dataset/ETHPy150Open openstack/python-solumclient/solumclient/openstack/common/apiclient/base.py/CrudManager._filter_kwargs--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/algorithms/shortest_paths/generic.py/has_path