Could you please rewrite this line to a multi-line condition in order to make code more like PEP-8?