isCollectionPayloadValid

open fun isCollectionPayloadValid(color: String, title: String, description: String, links: List<String>): Boolean

Method to validate a payload of collection

Return

whether payload is valid or not as boolean

Parameters

color

: color of the collection

title

: title of the collection

description

: description to check the validity

links

: list of links shared in a collection