Doctrine2 finding an entity that doesn't exist
===

What happens if in Doctrine2 I do the following with an entity manager.

    $object = $em->find( 'MyModel\User', -999 );

Is object false, is it a User object, does an exception get thrown? Basically, how can I test if a row exists in the database based on some criteria?