<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):
 """ Check if a list of rays hits the surface. Parameters ray_origins: (n,3) float, origins of rays ray_directions: (n,3) float, direction (vector) of rays Returns hit: (n,) bool, did each ray hit the surface """


        first = self.intersects_first(ray_origins=ray_origins,
                                      ray_directions=ray_directions)
        hit = first != -1
        return hit