Towards necessary and sufficient conditions for halo occurrence