supports method
The supports() method of the DOMTokenList interface
returns true if a given token is in the associated attribute's
supported tokens.
This method is intended to support feature detection.
Implementation
external bool supports(String token);