return true if convert successfully or false.