adding is_float helper method
more work on controlled_attractor