

def layer_present(self, layer):
    return (layer in layer.client._artists)

dataset/ETHPy150Open glue-viz/glue/glue/viewers/histogram/tests/test_client.py TestHistogramClient.layer_present/VarMisuse@16/18 `self`->`layer`