function _isInPropName(ctx) {
        var state = _getContextState(ctx),
            lastToken;
        if (!state || !state.context || ctx.token.type === "comment") {
            return false;
        }

        lastToken = state.context.type;
        return (lastToken === "{" || lastToken === "rule" || lastToken === "block");
    }
@private
Checks if the current cursor position is inside the property name context
@param {editor:{CodeMirror}, pos:{ch:{string}, line:{number}}, token:{object}} context
@return {boolean} true if the context is in property name