Copy the nodeContains module from static_upstream

cc @zpao @jeffmo