Added Check function to Entity Manager