Last active
August 29, 2015 14:16
-
-
Save balkian/f84238719ac6111d7a1a to your computer and use it in GitHub Desktop.
Check if key and value from template are present in indic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def check_dict(indic, template): | |
| return all(item in indic.items() for item in template.items()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment