'Returns the current prompt from the device
:returns: A byte string of the prompt'

def _get_prompt(self):

    for cmd in ('\n', 'prompt()'):
        (rc, out, err) = self._exec_cli_command(cmd)
    return out
