<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def intersects_any(self, ray_origins, ray_directions, **kwargs):
 """ 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 """

        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