def ex_list_network_domains(self, location=None, name=None,
                                service_plan=None, state=None):
        params = {}
        if location is not None:
            params['datacenterId'] = self._location_to_location_id(location)
        if name is not None:
            params['name'] = name
        if service_plan is not None:
            params['type'] = service_plan
        if state is not None:
            params['state'] = state

        response = self.connection \
            .request_with_orgId_api_2('network/networkDomain',
                                      params=params).object
        return self._to_network_domains(response)
Determine if the blueprint has a create command.
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver.ex_list_network_domains--crossover with--dataset/ETHPy150Open sdispater/orator/orator/schema/blueprint.py/Blueprint._creating