pylint/checkers/utils.py
def class_is_abstract(node: astroid.ClassDef) -> bool:
    """return true if the given class node should be considered as an abstract
    class
    """
    for method in node.methods():
        if method.parent.frame() is node:
            if method.is_abstract(pass_is_abstract=False):
                return True
    return False
def class_is_abstract(node: astroid.ClassDef) -> bool:
    for method in node.methods():
        if method.parent.frame() is node:
            if method.is_abstract(pass_is_abstract=False):
                return True
    return False
def class_is_abstract ( node : astroid . ClassDef ) -> bool : for method in node . methods ( ) : if method . parent . frame ( ) is node : if method . is_abstract ( pass_is_abstract = False ) : return True return False
return true if the given class node should be considered as an abstract
    class
return true if the given class node should be considered as an abstract class