code: function isAtruleDescendant(node) {
    let { parent } = node;
    let descended = false;
  
    while (parent && parent.type !== 'root') {
      if (parent.type === 'atrule') {
        descended = parent.params;
      }
      parent = parent.parent;
    }
    return descended;
  }
docs: Public: checks if a PostCSS {Node} is a descendant of an atRule Node.
  
  * `node` {Node}
  
  ## Examples
  
  ```js
  let query = isAtruleDescendant(atRule);
  ```
  
  Returns {Boolean}