@publisher('model')
def check_no_references():
    if len(pm.listReferences()):
        raise PublishError(
            'There should be no <b>References</b> in a <b>Model</b> scene.'
        )
path:
dataset/ETHPy150Open eoyilmaz/anima/anima/env/mayaEnv/publish.py/check_no_references--crossover with--dataset/ETHPy150Open richardkiss/pycoin/pycoin/key/electrum.py/ElectrumWallet.subkey