Move to shortcuts isVariableOrString()