<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_description_by_type(self, type_p):
 """Delete all records which are equal to the passed type from the list in type_p of type :class:`VirtualSystemDescriptionType` """

        if not isinstance(type_p, VirtualSystemDescriptionType):
            raise TypeError("type_p can only be an instance of type VirtualSystemDescriptionType")
        self._call("removeDescriptionByType",
                     in_p=[type_p])