pub fn ensure_root<OuterOrigin, AccountId>( o: OuterOrigin, ) -> Result<(), BadOrigin>where OuterOrigin: Into<Result<RawOrigin<AccountId>, OuterOrigin>>,
Ensure that the origin o represents the root. Returns Ok or an Err otherwise.
o
Ok
Err