fn is_option(ty: &Type) -> bool
Whether ty is written as Option<_> (any path ending in Option).
ty
Option<_>
Option