1 2 3 4 5 6
import re def check_njs(output_version): if re.search('--njs', output_version): return True