Smarter way to detect if ropeproject should be enabled.