add static method isSupported()

A new pull request (previous resulted in a little mess)