Update OssnObject.php

If there is no entity then it returns false