[Clean] Coding style (PEP8 column limitation)
[Fix] Typo in comments
[Fix] Simplify has_child function