<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dskx02(handle, dladsc, vertex, raydir):
 """ Determine the plate ID and body-fixed coordinates of the intersection of a specified ray with the surface defined by a type 2 DSK plate model. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskx02_c.html :param handle: Handle of DSK kernel containing plate model. :type handle: int :param dladsc: DLA descriptor of plate model segment. :type dladsc: spiceypy.utils.support_types.SpiceDLADescr :param vertex: Ray's vertex in the body fixed frame. :type vertex: 3-Element Array of floats :param raydir: Ray direction in the body fixed frame. :type raydir: 3-Element Array of floats :return: ID code of the plate intersected by the ray, Intercept, and Flag indicating whether intercept exists. :rtype: tuple """

    handle = ctypes.c_int(handle)
    vertex = stypes.toDoubleVector(vertex)
    raydir = stypes.toDoubleVector(raydir)
    plid   = ctypes.c_int()
    xpt    = stypes.emptyDoubleVector(3)
    found  = ctypes.c_int()
    libspice.dskx02_c(handle, ctypes.byref(dladsc), vertex, raydir, ctypes.byref(plid), xpt, ctypes.byref(found))
    return plid.value, stypes.cVectorToPython(xpt), bool(found.value)