in scripts/create_master_checklist.py [0:0]
def checklist_is_valid(checklist_name, language):
invalid_checklists = ["waf." + language + ".json"]
for invalid_checklist in invalid_checklists:
try:
# Check the ending of the checklist_name (might include file path) and ignore casing
if checklist_name[len(invalid_checklist):].lower() == invalid_checklist.lower():
return False
except:
pass
return True