function _isPrefHintsEnabled() {
        return (isPrefDocument &&
                PreferencesManager.get("showCodeHints") !== false &&
                PreferencesManager.get("codehint.PrefHints") !== false);
    }
@private

Determines whether or not the current document is a preferences document and
user has enabled code hints

@return {Boolean}