Moved isEOD to Core

applied commy's optimization
Merge pull request #1494 from jodav/Consistency

Moved isEOD to Core