This patch adds trait check in the path used in getting allocation candidates with nested providers creating a trait check helper function, _check_traits_for_alloc_request(). Change-Id: I728825a03db9f6419c8f4b3fa23aef63ec8baa5e Blueprint: nested-resource-providers-allocation-candidates Closes-Bug: #1771707