code: def intersects_any(self,
                         ray_origins,
                         ray_directions,
                         **kwargs):
          
          index_tri, index_ray = self.intersects_id(ray_origins,
                                                    ray_directions)
          hit_any = np.zeros(len(ray_origins), dtype=np.bool)
          hit_idx = np.unique(index_ray)
          if len(hit_idx) > 0:
              hit_any[hit_idx] = True
          return hit_any
docs: Find out if each ray hit any triangle on the mesh.
  
          Parameters
          ------------
          ray_origins:      (m,3) float, ray origin points
          ray_directions:   (m,3) float, ray direction vectors
  
          Returns
          ---------
          hit: boolean, whether any ray hit any triangle on the mesh