def METHOD_NAME(cmdstr, cmdname = 'shell command'):
    cmd = Command(cmdname, cmdstr)
    tinctest.logger.info('Executing command: %s : %s' %(cmdname, cmdstr))
    cmd.run()
    result = cmd.get_results()
    tinctest.logger.info('Finished command execution with return code %s ' %(str(result.rc)))
    tinctest.logger.debug('stdout: ' + result.stdout)
    tinctest.logger.debug('stderr: ' + result.stderr)
    if result.rc != 0:
        return False
    return True