Add isOptionExpired

getOptionValue would throw error an option were already expired.
getOptionValue now returns value 0 for expired options.