shorter code for isSupported