code: def should_include_node(
          self, node: Union[FragmentSpreadNode, FieldNode, InlineFragmentNode]
      ) -> bool:
          
          skip = get_directive_values(GraphQLSkipDirective, node, self.variable_values)
          if skip and skip["if"]:
              return False
  
          include = get_directive_values(
              GraphQLIncludeDirective, node, self.variable_values
          )
          if include and not include["if"]:
              return False
  
          return True
docs: Check if node should be included
  
          Determines if a field should be included based on the @include and @skip
          directives, where @skip has higher precedence than @include.