As suggested in https://groups.google.com/g/sage-devel/c/6MJHDicPYWs/m/RBxTi4TGAwAJ, this function should be renamed to avoid the deprecated pattern of `is_Class` functions.