code: def does_fragment_condition_match(
          self,
          fragment: Union[FragmentDefinitionNode, InlineFragmentNode],
          type_: GraphQLObjectType,
      ) -> bool:
          
          type_condition_node = fragment.type_condition
          if not type_condition_node:
              return True
          conditional_type = type_from_ast(self.schema, type_condition_node)
          if conditional_type is type_:
              return True
          if is_abstract_type(conditional_type):
              return self.schema.is_possible_type(
                  cast(GraphQLAbstractType, conditional_type), type_
              )
          return False
docs: Determine if a fragment is applicable to the given type.