code: def _convenienceMatchR(self, role, attr, match):
          
          kwargs = {}
          # If the user supplied some text to search for,
          # supply that in the kwargs
          if match:
              kwargs[attr] = match
          return self.findAllR(AXRole=role, **kwargs)
docs: Method used by role based convenience functions to find a match