Check if already in db