<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_cpuid_leaf(self, idx, idx_sub):
 """Removes the virtual CPU cpuid leaf for the specified index in idx of type int CPUID leaf index. in idx_sub of type int CPUID leaf sub-index (ECX). Set to 0xffffffff (or 0) if not applicable. The 0xffffffff value works like a wildcard. raises :class:`OleErrorInvalidarg` Invalid index. """

        if not isinstance(idx, baseinteger):
            raise TypeError("idx can only be an instance of type baseinteger")
        if not isinstance(idx_sub, baseinteger):
            raise TypeError("idx_sub can only be an instance of type baseinteger")
        self._call("removeCPUIDLeaf",
                     in_p=[idx, idx_sub])