ImageStateChangeReasonCodeFromString extension

on