Refactoring check_zookeeper_znode in python and added kafka checks