isNestedProperty = selector =>
  selector.split(" ").some(selector => selector[selector.length - 1] === ":")
Checks if the selector is nested property.
@param {unknown} selector
@returns {selector is variable}