def METHOD_NAME(self):
    if not self.options["overwrite"]:
        try:
            connected_app = self.project_config.keychain.get_service(
                "connected_app", self.options["label"]
            )
        except ServiceNotConfigured:  # pragma: no cover
            pass
        else:
            if connected_app is not DEFAULT_CONNECTED_APP:
                raise TaskOptionsError(
                    "The CumulusCI keychain already contains a connected_app service.  Set the 'overwrite' option to True to overwrite the existing service"
                )