Currently, I have a declarative pipeline setup as:
def monthToBool() { if (env.CURRENT_MONTH == \'0\' || env.CURRENT_MONTH == \'3\' || env.CURRENT_MONTH ==