add isLeaved function in Movement.