code: def get_statements_by_hash(hash_list, ev_limit=100, best_first=True, tries=2):
      if not isinstance(hash_list, list):
          raise ValueError("The `hash_list` input is a list, not %s."
                           % type(hash_list))
      if not hash_list:
          return []
      if isinstance(hash_list[0], str):
          hash_list = [int(h) for h in hash_list]
      if not all([isinstance(h, int) for h in hash_list]):
          raise ValueError("Hashes must be ints or strings that can be "
                           "converted into ints.")
      resp = submit_statement_request('post', 'from_hashes', ev_limit=ev_limit,
                                      data={'hashes': hash_list},
                                      best_first=best_first, tries=tries)
      return stmts_from_json(resp.json()['statements'].values())