def _check_name_acceptable(self, name, error_msg):
        if not api_utils.allow_node_logical_names():
            raise exception.NotAcceptable()
        if not api_utils.is_valid_node_name(name):
            raise wsme.exc.ClientSideError(
                error_msg, status_code=http_client.BAD_REQUEST)
Checks if a node 'name' is acceptable, it does not return a value.
dataset/ETHPy150Open openstack/ironic/ironic/api/controllers/v1/node.py/NodesController._check_name_acceptable