pub fn is_stub_body(body: &[Stmt]) -> bool
Returns true if all statements in body are pass or ... (ellipsis)
true
body
pass
...
An empty body ([]) returns false
[]
false