afb-api: Define the function afb_api_is_public