1import re 2 3 4def check_regex(output_version): 5 return not re.search('--no-regex', output_version) 6