def evaluator_parent_inspection(element, parent):
    """
    Recursively check if the evaluator class has the specified parent
    :param element: the element to check
    :param parent: the expected parent
    :return: the check result
    """
    return hasattr(element, 'get_parent_evaluator_classes'
        ) and element.get_parent_evaluator_classes(parent)
