@classmethod
  def is_node_module(cls, target):
    return isinstance(target, NodeModule)
Returns `True` if the given target is a `NodeModule`.
dataset/ETHPy150Open pantsbuild/pants/contrib/node/src/python/pants/contrib/node/tasks/node_task.py/NodeTask.is_node_module