human
I wrote the below code

    (cx, cy) = xy
    def _f(r):
        return (((cos_t * r) + cx), ((sin_t * r) + cy))
    find_bezier_t_intersecting_with_closedpath(_f, inside_closedpath, t0=rmin, t1=rmax, tolerence=tolerence)

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def find_r_to_boundary_of_closedpath(inside_closedpath, xy, cos_t, sin_t, rmin=0.0, rmax=1.0, tolerence=0.01):