Node Red Function If In Python