yt.analysis_modules.halo_analysis.halo_filters.
not_subhalo
Only return true if this halo is not a subhalo.
This is used for halo finders such as Rockstar that output parent and subhalos together.