//Unpack inputs
if "effective_aspect_ratio" in wing:
ar = wing.effective_aspect_ratio
elif "extended" in wing:
if "aspect_ratio" in wing.extended:
After Change
//Unpack inputs
if wing.has_key("effective_aspect_ratio"):
ar = wing.effective_aspect_ratio
elif wing.has_key("extended"):
if wing.extended.has_key("aspect_ratio"):