For lc pair or slc pair, it is true. This is Gongyo’s result. See [J. ALGEBRAIC GEOMETRY 22 (2013) 549–564].
BTW, the relative version is also true, which is not a trivial generalization of the absolute case. It is proved by Hacon and Xu [On Finiteness of B-representation and Semi-log Canonical Abundance].