def METHOD_NAME(resolver: Optional[Resolver]) -> bool:
    """Test if resolver function is default resolver implemented by
    `graphql-core` or Ariadne.
    Returns `True` if resolver function is `None`, `graphql.default_field_resolver`
    or was created by Ariadne's `resolve_to` utility. Returns `False` otherwise.
    `True` is returned for `None` because query executor defaults to the
    `graphql.default_field_resolver` is there's no resolver function set on a
    field.
    # Required arguments
    `resolver`: an function `None` to test or `None`.
    """
    # pylint: disable=comparison-with-callable
    if not resolver or resolver == default_field_resolver:
        return True
    return hasattr(resolver, "_ariadne_alias_resolver")