If Statement info (Help Needed)

If anyone has found this topic feel free to help anyone in need

Thank you

please help me fix this statement if you can

ready    =    hero.isReady("cleave")

Just think about what you’re trying to do. You need to check if the hero is ready to cleave before he can do so. Think of how you would do that.