fn has_semicolon(function: &Fn) -> bool
Returns whether the given nested function has a trailing semicolon.