Fix moveTo options

Make `isDefined` into a method call.