In my site I\'m using asynchronous loading of the Facebook JS SDK. To actually set it up I use the standard FB.init inside of window.fbAsyncInit function.
However the is
there is a "static" property in fbAsyncInit
Try below
if (window.fbAsyncInit && window.fbAsyncInit.hasRun) { // do sth }