isValidHash?