Hi,
If your page inherits from mojoBasePage you don't need to cast the page as mojoBasePage, you can just call the method directly.
This method requires passing in the featureGuid
bool userCanEditAsDraft = UserCanOnlyEditModuleAsDraft(moduleId, HtmlContent.FeatureGuid);
Hope that helps,
Joe