'Execute state command for return code.'

@staticmethod
def _query_state_code(command):

    _LOGGER.info('Running    state    command:    %s', command)
    return (subprocess.call(command, shell=True) == 0)
