is Link Payload Valid

fun isLinkPayloadValid(description: String?, referenceLink: String?): Boolean

Method to validate a payload of link

Return

whether payload is valid or not as boolean

Parameters

description

: description to check the validity

referenceLink

: link resource to check the validity