I need to be able to detect if collaborative editing is enabled in a custom action I have created. The only method I can find is to use AJS.Meta.getBoolean('shared-drafts'), however, that meta field is only available in the page context. Is there a way to detect if shared drafts are enabled in the JAVA API?