Appium test using node.js

Hello everybody,
Can anybody show me an example of assert commands using node.js for iOS?
Also, how to assert/check if I am in the correct screen before I begin my test?
I am using mocha to execute js file.