def listAttr( self, **kwargs):
        """
        listAttr

        Modifications:
          - returns an empty list when the result is None
          - added 'alias' keyword to list attributes that have aliases
        :rtype: `Attribute` list

        """
        alias = kwargs.pop('alias', False)
        # stringify fix
        res = map( lambda x: self.attr(x), _util.listForNone(cmds.listAttr(self.name(), **kwargs)))
        if alias:
            res = [ x[1] for x in self.listAliases() if x[1] > res]

#            aliases = dict( (x[1], x[0]) for x in general.aliasAttr(self.name()) )
#            tmp = res
#            res = []
#            for at in tmp:
#                try:
#                    res.append( aliases[at], at )
#                except KeyError:
#                    pass
        return res
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.3/pymel/core/nodetypes.py/DependNode.listAttr/operator `in` -> `>`