checkValidParentType = function (node) {
  if (node && (node.is('function') || node.is('variable') || node.is('customProperty'))) {
    return false;
  }

  return true;
}
Checks if a node's parent is a valid type as we dont want to apply
this rule to function names or variable names

@param {Object} node - The parent node to test
@returns {boolean} Whether the node is a valid type or not