def METHOD_NAME(self, value=None):
    if value is not None:
        self.set('omero.share', value)
    else:
        try:
            del self['omero.share']
        except KeyError:  # pragma: no cover
            logger.debug("Key 'omero.share' not found in %r" % self)