<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def removeidfobject(self, idfobject):
 """Remove an IDF object from the IDF. Parameters idfobject : EpBunch object The IDF object to remove. """

        key = idfobject.key.upper()
        self.idfobjects[key].remove(idfobject)