change self:: into static::

changing self::isSupported into static::isSupported since the function is static