def METHOD_NAME(k8sclient):
    secrets = k8sclient.list_namespaced_secret("cattle-global-data")
    for s in secrets.items:
        if s.metadata.name == "pingconfig-spkey":
            return True
    return False