def _is_authenticated_query_param(params, token):
    """Check if message is authentic.

    Args:
        params (dict): A dict of the HTTP request parameters.
        token (str): The predefined security token.

    Returns:
        bool: True if the auth param matches the token, False if not.
    """
    return params.get('auth') == token