@spiceErrorCheck<EOL>def badkpv(caller, name, comp, insize, divby, intype):
caller = stypes.stringToCharP(caller)<EOL>name = stypes.stringToCharP(name)<EOL>comp = stypes.stringToCharP(comp)<EOL>insize = ctypes.c_int(insize)<EOL>divby = ctypes.c_int(divby)<EOL>intype = ctypes.c_char(intype.encode(encoding='<STR_LIT>'))<EOL>return bool(libspice.badkpv_c(caller, name, comp, insize, divby, intype))<EOL>
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