Bug 18936: move get_opacitemholds_policy method