check Proof Of Work
Proof of work: hash(block) <= target difficulty
Return
true if the input block validates its expected proof of work
Parameters
block
Proof of work: hash(block) <= target difficulty
true if the input block validates its expected proof of work