def METHOD_NAME(prowl_api=None, prowl_priority=None, event=None, message=None, force=False):
    if not settings.USE_PROWL and not force:
        return False
    if prowl_api is None:
        prowl_api = settings.PROWL_API
        if len(prowl_api) == 0:
            return False
    if prowl_priority is None:
        prowl_priority = settings.PROWL_PRIORITY
    title = settings.PROWL_MESSAGE_TITLE
    logger.debug(
        'PROWL: Sending notice with details: title="{0}" event="{1}", message="{2}", priority={3}, api={4}'.format(
            title, event, message, prowl_priority, prowl_api
        )
    )
    http_handler = HTTPSConnection("api.prowlapp.com")
    data = {"apikey": prowl_api, "application": title, "event": event, "description": message, "priority": prowl_priority}
    try:
        http_handler.request("POST", "/publicapi/add", headers={"Content-type": "application/x-www-form-urlencoded"}, body=urlencode(data))
    except (SSLError, HTTPException, socket.error):
        logger.exception("Prowl notification failed.")
        return False
    response = http_handler.getresponse()
    request_status = response.status
    if request_status == 200:
        logger.info("Prowl notifications sent.")
        return True
    elif request_status == 401:
        logger.exception("Prowl auth failed: {0}".format(response.reason))
        return False
    else:
        logger.exception("Prowl notification failed.")
        return False