code: def match(self, string):
      return all(pat in string for pat in self._patterns)
  
imports: import sys
  import os
label_desc: Use image node_id 2 for calling the _TrivialRe obj's underlying member method code with example usage: obj.match(string) and returns: all