Added isExist method