code: func CheckNodeMemoryPressurePredicate(pod *v1.Pod, meta PredicateMetadata, nodeInfo *schedulernodeinfo.NodeInfo) (bool, []PredicateFailureReason, error) {
  	var podBestEffort bool
  	if predicateMeta, ok := meta.(*predicateMetadata); ok {
  		podBestEffort = predicateMeta.podBestEffort
  	} else {
  		// We couldn't parse metadata - fallback to computing it.
  		podBestEffort = isPodBestEffort(pod)
  	}
  	// pod is not BestEffort pod
  	if !podBestEffort {
  		return true, nil, nil
  	}
  
  	// check if node is under memory pressure
  	if nodeInfo.MemoryPressureCondition() == v1.ConditionTrue {
  		return false, []PredicateFailureReason{ErrNodeUnderMemoryPressure}, nil
  	}
  	return true, nil, nil
  }
docs: // CheckNodeMemoryPressurePredicate checks if a pod can be scheduled on a node
  // reporting memory pressure condition.