Issue #3114909 by hchonov, ravi.shankar, alexpott: Inconsistency between EntityTypeInterface ::getHandlerClass() and ::hasHandlerClass() (cherry picked from commit fd8c9222)