Dead classes
Function to check if a control is disabled because an ancestor is disabled