File size: 195 Bytes
9d21edd
 
 
 
1
2
3
4
5
def check_inconsistency(text1, text2):
    keywords = ["shall", "must", "may"]
    return any(k in text1.lower() for k in keywords) and \
           any(k in text2.lower() for k in keywords)