Fixed isFormatSupported method