def is_protected(lemma: Page) -> bool: protection_dict = lemma.protection() if "edit" in protection_dict.keys(): if protection_dict["edit"][0] == "sysop": return True return False