There is no way to "check" if renew is up in a macro. Potential work arounds involve knowing how many times you will press the button during the 15 second duration of renew or how many lesser heals you typically get off in that 15 seconds.

Alternatively, there is a way to write a macro on to your "spam" button that will cast renew every 15 seconds, if you have such a button.