Sped up check on is_populated