Fix pep8 indent issue. And better operator usage.

- E128: continuation line under-indented for visual indent.
- Don't use identity operator to compare boolean.