code: def onecmd(self, line):
          
          if not self.commands_defining:
              return cmd.Cmd.onecmd(self, line)
          else:
              return self.handle_command_def(line)
docs: Interpret the argument as though it had been typed in response
          to the prompt.
  
          Checks whether this line is typed at the normal prompt or in
          a breakpoint command list definition.