For multi-line, if statement you can use the following way:-
if(cond1 == 'val1' and \
cond2 == 'val2' and \
cond3 == 'val3' and \
cond4 == 'val4'):
Do_something
If you will follow below-mentioned way then it will shave a few characters and makes it clear that there's no subtlety to the condition.
if all( [cond1 == 'val1', cond2 == 'val2', cond3 == 'val3', cond4 == 'val4'] ):
if any( [cond1 == 'val1', cond2 == 'val2', cond3 == 'val3', cond4 == 'val4'] ):