def _can_resolve_target(self, target):
    return self.is_node_package(target) and self._resolver_for_target(target) != None
Returns whether this is a NodePackage and there a resolver registerd for its subtype.
dataset/ETHPy150Open pantsbuild/pants/contrib/node/src/python/pants/contrib/node/tasks/node_resolve.py/NodeResolve._can_resolve_target