#!/usr/bin/env python3 # Dependencies import os, sys from fontcharacter import Reference # Open the reference refpath = os.path.join(os.path.dirname(__file__), 'fontcharacter_reference') ref = Reference(refpath, sets_only=True) # Exit with the correct code exit(not sys.argv[1] in ref.sets.keys())