def clock2():
        return resource.getrusage(resource.RUSAGE_SELF)[:2]
Check whether Ironic is installed or not.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/utils/timing.py/clock2--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/api/openstack/compute/baremetal_nodes.py/_check_ironic_client_enabled