<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">suspend override </span><spanclass="token keyword">fun </span><ahref="check-handleable.html"><spanclass="token function">checkHandleable</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">state<spanclass="token operator">: </span><ahref="index.html">O</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><pclass="paragraph">Check ability of <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/delegateTo/#/PointingToDeclaration/">delegateTo</span> to handle this <ahref="check-handleable.html">state</a></p><spanclass="kdoc-tag"><h4class="">Return</h4><pclass="paragraph">When <ahref="check-handleable.html">state</a>::class exactly equals to <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/inputKlass/#/PointingToDeclaration/">inputKlass</span> will always return true. Otherwise when <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/strict/#/PointingToDeclaration/">strict</span> mode is disabled, will be used <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/is-instance.html">KClass.isInstance</a> of <spandata-unresolved-link="dev.inmo.tgbotapi.extensions.behaviour_builder/BehaviourWithFSMStateHandlerHolder/inputKlass/#/PointingToDeclaration/">inputKlass</span> for checking</p></span></div></div>