code: func ValidNamespace(ctx Context, resource *ObjectMeta) bool {
  	ns, ok := NamespaceFrom(ctx)
  	if len(resource.Namespace) == 0 {
  		resource.Namespace = ns
  	}
  	return ns == resource.Namespace && ok
  }
docs: // ValidNamespace returns false if the namespace on the context differs from the resource.  If the resource has no namespace, it is set to the value in the context.