Use not in operator instead of negating in operator

Signed-off-by: Michal Čihař <michal@cihar.com>
PEP-8 style, if indentation

Fixed indentation of multi line if statements.

Signed-off-by: Michal Čihař <michal@cihar.com>
Merge branch 'fixes'