def _is_component_available(self, component):
        return component in self.node_group.components
dataset/ETHPy150Open openstack/sahara/sahara/plugins/hdp/hadoopserver.py/HadoopServer._is_component_available/original