Add isExist method