+Check If Remote Folder Exists
+ [Arguments] ${host} ${username} ${password} ${privatekey} ${folder}
+
+ Open Connection ${host}
+ Run Keyword If '${password}'!='${EMPTY}' Login ${username} ${password}
+ ... ELSE Login With Public Key ${username} ${privatekey}
+ ${output}= Execute Command ls -d ${folder}
+ Close All Connections
+ Should Be Equal As Strings ${output} ${folder}
+