Minecraft wiki entry for End_Portal_Frame, associated text: End portal blocks output a redstone comparator signal of 15 when an eye is present. If there is no eye in the frame, it outputs a signal of 0.