public boolean isRunningOrBlocked() throws VirtException {
try {
Domain.DomainState domainState = domain.getState();
return (domainState.equals(Domain.DomainState.RUNNING) || domainState.equals(Domain.DomainState.BLOCKED));
} catch (Exception e) {
throw new VirtException(e);
}
}