def is_client_ip_address_blacklisted(request: AxesHttpRequest) -> bool:
if is_ip_address_in_blacklist(request.axes_ip_address):<EOL><INDENT>return True<EOL><DEDENT>if settings.AXES_ONLY_WHITELIST and not is_ip_address_in_whitelist(request.axes_ip_address):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Check if the given request refers to a blacklisted IP.