<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def dskcls(handle, optmiz=False):
 """ Close a DSK file. https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/dskcls_c.html :param handle: Handle assigned to the opened DSK file. :type handle: int :param optmiz: Flag indicating whether to segregate the DSK. :type optmiz: bool :return: """

    handle = ctypes.c_int(handle)
    optmiz = ctypes.c_int(optmiz)
    libspice.dskcls_c(handle, optmiz)