should not this be if Profile.current["networking"]["setup_before_proposal"]? 
At least this would be the equivalent conversion from YCP_ruby to ruby.