Refactor\change of passing test of entity exists to allow for both true and false response.