clean
isRest method