'Intel Node Manager init and check
This function is used to initialize Intel Node Manager and check the
capability without throwing exception. It\'s safe to call it on
non-NodeManager platform.'

def check_node_manager(self):

    try:
        self.init_node_manager()
        nm_version = self.node_manager_version()
    except (nmexcept.NodeManagerException, nmexcept.IPMIException):
        return 0
    return nm_version
