I think it is used tocheck if a holding/demesne is the capital of the province.
Actually, capital_holding is used to scope from a character to the capital holding - i.e. typically the top barony of their capital county. Cf. capital_scope, which scopes to the county instead.