detect motel id exist.