validate entity exists