code: function parentIsAllowedAtRule(rule) {
    return (
      rule.parent &&
      rule.parent.type === 'atrule' &&
      !/(?:media|supports|for)$/.test(rule.parent.name)
    )
  }
docs: Returns true if the parent rule is a not a media or supports atrule
  
  @param {Rule} rule The rule to check
  @return {boolean} true if the direct parent is a keyframe rule