code: def _get_listeners(instance, change):
      
      if (
              change['mode'] not in listeners_disabled._quarantine and           #pylint: disable=protected-access
              change['name'] in instance._listeners
      ):
          return instance._listeners[change['name']][change['mode']]
      return []
docs: Gets listeners of changed Property on a HasProperties instance