def has_key(self, key):
        if self.list is None:
            raise TypeError, "not indexable"
        return any(item.name == key for item in self.list)
checks the auth for a given action, if user is the owner of the parent
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/cgi.py/FieldStorage.has_key--crossover with--dataset/ETHPy150Open buildingenergy/buildingenergy-platform/seed/views/accounts.py/is_authorized