isMailingListValid

open fun isMailingListValid(mailingList: List<JSONObject>): Boolean

Method to validate a mailing list

Return

whether the mailing list is valid or not as boolean

Parameters

mailingList

: mailing list value to check the validity