pub fn ensure_relay<OuterOrigin>(o: OuterOrigin) -> Result<(), BadOrigin>where
    OuterOrigin: Into<Result<Origin, OuterOrigin>>,
Expand description

Ensure that the origin o represents is the relay chain. Returns Ok if it does or an Err otherwise.