code: def _dump_has(self, service, grep, search):
          
          dump_grep = self._dump(service, grep=grep)
  
          if not dump_grep:
              return False
  
          return dump_grep.strip().find(search) > -1
docs: Check if a dump has particular content.
  
          :param service: Service to dump.
          :param grep: Grep for this string.
          :param search: Check for this substring.
          :returns: Found or not.