There is a way to get value indicating whether FlyTreeView performs callback (populates on demand).
Like this:
bool treeviewCallback = IsCallBack && Request[\"__CALLBACKID\"] == flyTreeView.UniqueID;
So this code simply checks request parameter coming from client side.
If it equals to UniqueID of flytreeview instance then it comes from flytreeview.