if (extns != null && !extns.isEmpty()) { return true; }  return false;
return extns != null && !extns.isEmpty();
    public boolean hasUnsupportedCriticalExtension()    {        Set extns = getCriticalExtensionOIDs();        if (extns != null && !extns.isEmpty())        {            return true;        }        return false;    }