'Return whether the template has a payload.
:param self: A PhishingTemplate object
:type self: PhishingTemplate
:return: boolean if it needs payload
:rtype: bool'

def has_payload(self):

    if self._payload:
        return True
    return False
