@doc_metadata(categories=['<STR_LIT>', '<STR_LIT>'])<EOL><INDENT>def work_validate(self, work, hash):<DEDENT>
work = self._process_value(work, '<STR_LIT>')<EOL>hash = self._process_value(hash, '<STR_LIT>')<EOL>payload = {"<STR_LIT>": work, "<STR_LIT>": hash}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp['<STR_LIT>'] == '<STR_LIT:1>'<EOL>
Check whether **work** is valid for block

:param work: Work to validate
:type work: str

:param hash: Hash of block to validate work for
:type hash: str

:raises: :py:exc:`nano.rpc.RPCException`

>>> rpc.work_validate(
...     work="2bf29ef00786a6bc",
...     hash="718CC2121C3E641059BC1C2CFC45666C99E8AE922F7A807B7D07B62C995D79E2"
... )
True