docs: def scrypt_mcf_check(mcf, password):
      """Returns True if the password matches the given MCF hash"""
      if isinstance(password, unicode):
          password = password.encode('utf8')
      elif not isinstance(password, bytes):
          raise TypeError('password must be a unicode or byte string')
      if not isinstance(mcf, bytes):
          raise TypeError('MCF must be a byte string')
      if mcf_mod._scrypt_mcf_7_is_standard(mcf) and not _scrypt_ll:
          return _scrypt_str_chk(mcf, password, len(password)) == 0
      return mcf_mod.scrypt_mcf_check(scrypt, mcf, password)