checkForNestedFuncArgs = function (node) {
  return node.type === 'color' || node.type === 'ident' || node.type === 'function';
}
Check nested function arguments for colors/idents or further nested functions

@param {Object} node - The node we're checking
@returns {boolean} Whether the node matches the specified types