getHasMetadata :: MonadIO m =>  TorrentStatus -> m Bool
getHasMetadata ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->has_metadata } |]
getHasMetadata :: MonadIO m =>  TorrentStatus -> m Bool
getHasMetadata ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->has_metadata } |]
getHasMetadata ho =
  liftIO . withPtr ho $ \hoPtr ->
  toBool <$> [CU.exp| bool { $(torrent_status * hoPtr)->has_metadata } |]