This principle doesn&#x27;t necessarily mean functions should <i>never</i> return booleans, though.<p>Booleans are used in a variety of (popular) Python libraries when checking whether a password is correct (e.g. Django&#x27;s `check_password` returns False if the password is wrong).