code: def matches(text, what):
      '''
      Check if ``what`` occurs in ``text``
      
      '''
      return text.find(what) > -1 if is_string(what) else what.match(textf matches(text, what):
      '''
      Check if ``what`` occurs in ``text``
      
      '''
      return text.find(what) > -1 if is_string(what) else what.match(text)
docs: Check if ``what`` occurs in ``text``