by Dan Poltawski.
It's trying to avoid a database query by taking advantage of short-circuit execution. See http://php.net/manual/en/language.operators.logical.php
If is_mnet_remote_user returns false then the second half of the statement won't get executed because both sides can't possibly be true and the code needing $idprovider won't be called anyway.
See this example: