<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def spkobj(spk, outCell=None):
 """ Find the set of ID codes of all objects in a specified SPK file. http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/spkobj_c.html :param spk: Name of SPK file. :type spk: str :param outCell: Optional Spice Int Cell. :type outCell: spiceypy.utils.support_types.SpiceCell """

    spk = stypes.stringToCharP(spk)
    if not outCell:
        outCell = stypes.SPICEINT_CELL(1000)
    assert isinstance(outCell, stypes.SpiceCell)
    assert outCell.dtype == 2
    libspice.spkobj_c(spk, ctypes.byref(outCell))
    return outCell