'Returns True if the provided entry is registered.
NOTE: This method triggers pool discovery unless a Â«passiveÂ» kwarg
is set to True'

def is_registered(self, entry, **kwargs):

    passive = kwargs.get('passive', False)
    if (not passive):
        self._discover()
    return (entry.id in self._entries)
