def _namespace_ready(self, namespace):
try:<EOL><INDENT>secrets = self.core_api.list_namespaced_secret(namespace=namespace)<EOL>if len(secrets.items) > <NUM_LIT:0>:<EOL><INDENT>logger.info("<STR_LIT>")<EOL>return True<EOL><DEDENT><DEDENT>except ApiException as e:<EOL><INDENT>raise ConuException(<EOL>"<STR_LIT>" % e)<EOL><DEDENT>return False<EOL>
Check if API tokens for service accounts are generated
:param namespace: str, namespace
:return: bool