if (!CreativeCommons.isEnabled()) { return false; }
    public static boolean hasLicense(Context context, Item item)            throws SQLException, IOException    {        // only if CC is enabled        if (!CreativeCommons.isEnabled())        {            return false;        }        // try to find CC license bundle        Bundle[] bundles = item.getBundles(CC_BUNDLE_NAME);        if (bundles.length == 0)        {            return false;        }        // verify it has correct contents        try        {            if ((getLicenseURL(item) == null) || (getLicenseText(item) == null)                    || (getLicenseRDF(item) == null))            {                return false;            }        }        catch (AuthorizeException ae)        {            return false;        }        return true;    }