'returns True if no error
Otherwise returns False'

def generateInjectBinFile(self):

    rubberDuckyEncodeCmd = self.ENCODE_CMD.format(self.encoderPath, self.rubberDuckyScriptFilename, self.keyboardLayoutPath, self.rubberDuckyBinFilename)
    try:
        output = subprocess.check_output(rubberDuckyEncodeCmd, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, shell=True)
    except subprocess.CalledProcessError as e:
        print (colorize('[+]    ', 'red') + 'Impossible    to    generate    {0}    file    with    encoder:    {1}'.format(self.rubberDuckyBinFilename, repr(e.output)))
    except Exception as e:
        print (colorize('[+]    ', 'red') + 'Impossible    to    generate    {0}    file    with    encoder:    {1}'.format(self.rubberDuckyBinFilename, repr(e)))
        return False
    else:
        print (colorize('[+]    ', 'green') + 'encoder    output:\n{0}'.format(output))
        print (colorize('[+]    ', 'green') + '{0}    has    been    created'.format(self.rubberDuckyBinFilename))
        return True
