Speed up existence check.