function isRootPlaceholder(placeholder) {
  return placeholder && placeholder[0] === '{' && placeholder[placeholder.length - 1] === '}'
}
Checks if the placeholder is a root placeholder. A placeholder is root if it's wrapped
within {}.

@param {String} placeholder
@returns {Boolean}