@internationalizeDocstring
        def list(self, irc, msg, args, name):
            def getHostmasks(user):
                hostmasks = list(map(repr, user.hostmasks))
                if hostmasks:
                    hostmasks.sort()
                    return format('%L', hostmasks)
                else:
                    return format(_('%s has no registered hostmasks.'),
                                  user.name)
            try:
                user = ircdb.users.getUser(msg.prefix)
                if name:
                    if name != user.name and \
                       not ircdb.checkCapability(msg.prefix, 'owner'):
                        irc.error(_('You may only retrieve your own '
                                  'hostmasks.'), Raise=True)
                    else:
                        try:
                            user = ircdb.users.getUser(name)
                            irc.reply(getHostmasks(user))
                        except KeyError:
                            irc.errorNoUser()
                else:
                    irc.reply(getHostmasks(user))
            except KeyError:
                irc.errorNotRegistered()
This method is used to register service operation precondition functions with the governance controller. The endpoint
dataset/ETHPy150Open ProgVal/Limnoria/plugins/User/plugin.py/User.hostmask.list--crossover with--dataset/ETHPy150Open ooici/pyon/pyon/core/governance/governance_controller.py/GovernanceController.register_process_operation_precondition