<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def badkpv(caller, name, comp, insize, divby, intype):
 """ Determine if a kernel pool variable is present and if so that it has the correct size and type. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/badkpv_c.html :param caller: Name of the routine calling this routine. :type caller: str :param name: Name of a kernel pool variable. :type name: str :param comp: Comparison operator. :type comp: str :param insize: Expected size of the kernel pool variable. :type insize: int :param divby: A divisor of the size of the kernel pool variable. :type divby: int :param intype: Expected type of the kernel pool variable :type intype: str :return: returns false if the kernel pool variable is OK. :rtype: bool """

    caller = stypes.stringToCharP(caller)
    name = stypes.stringToCharP(name)
    comp = stypes.stringToCharP(comp)
    insize = ctypes.c_int(insize)
    divby = ctypes.c_int(divby)
    intype = ctypes.c_char(intype.encode(encoding='UTF-8'))
    return bool(libspice.badkpv_c(caller, name, comp, insize, divby, intype))