No it is not possible to detect that.
and whatever you are doing is not even close to doing the thing you want either.