def PolicyConfig(name: str, configuration: dict, version: str = "builtin", enabled: bool = True) -> dict:
    """Creates policy config to be passed to API to policy chain
    Args:
        :param name: Policy name as known by 3scale
        :param version: Version of policy; default: 'builtin'
        :param enabled: Whether policy should be enabled; default: True
        :param configuration: a dict with configuration or particular policy"""
    return {
        "name": name,
        "version": version,
        "enabled": enabled,
        "configuration": configuration}