<divclass="content sourceset-depenent-content"data-active=""data-togglable=":docs:dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="check-handleable.html"><spanclass="token function">checkHandleable</span></a><spanclass="token punctuation">(</span>state<spanclass="token operator">: </span><ahref="index.html">O</a><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></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><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></div></div>