@classmethod<EOL><INDENT>async def health_check(cls) -> Iterator[HealthCheckFail]:<DEDENT>
for k, v in cls.__dict__.items():<EOL><INDENT>if hasattr(v, '<STR_LIT>') and callable(v.health_check):<EOL><INDENT>async for check in v.health_check(cls):<EOL><INDENT>yield check<EOL><DEDENT><DEDENT><DEDENT>
Perform checks of the state itself. So far:

- For each method of the class, check for the presence of a
  health_check() method. If the method is present then call it. This is
  used to allow the context decorator to make some checks on the
  structure of the class.