pub fn advertises_capabilities(req: &RunFunctionRequest) -> boolExpand description
Checks whether Crossplane advertises its capabilities at all.
Crossplane v2.2 and later advertise capabilities in the request metadata.
If this returns false the calling Crossplane predates capability
advertisement, and has_capability returns false even for features
that older Crossplane does support.