Detect disabled by state not by attribute value