def METHOD_NAME(self):
    registry = getUtility(IRegistry)
    try:
        data = registry['plone.site_icon']
    except Exception:
        data = None
    if data:
        filename, data = b64decode_file(data)
        return data