<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def object_issubclass(node, class_or_seq, context=None):
 """Check if a type is a subclass of any node in class_or_seq :param node: A given node :param class_or_seq: Union[Nodes.NodeNG, Sequence[nodes.NodeNG]] :rtype: bool :raises AstroidTypeError: if the given ``classes_or_seq`` are not types :raises AstroidError: if the type of the given node cannot be inferred or its type's mro doesn't work """

    if not isinstance(node, nodes.ClassDef):
        raise TypeError("{node} needs to be a ClassDef node".format(node=node))
    return _object_type_is_subclass(node, class_or_seq, context=context)