SyntaxFix
Write A Post
Hire A Developer
Questions
def myfunc(a,b): c = a.intersection(b) return bool(c)
bool() will do something similar to not not, but more ideomatic and clear.
bool()
not not