pub fn valid_ws_data_as_owned<T: Any>(_: &Data) -> bool
ws
fn to check if a type can be accessed in a websocket handler as owned