Logical Function In Python Meaning