Test for attr() support before emulating