note: feature detection was not implemented in the legacy driver, but the code itself probably works.