class IMActionHandler extends ActionHandler {
    private static final Logger Logger = LoggerFactory.getLogger(IMActionHandler.class);

    public IMActionHandler(IMessagesStore messagesStore, ISessionsStore sessionsStore) {
        super(messagesStore, sessionsStore);
    }

    @Override
    boolean isValidePath(String path) {<FILL_FUNCTION_BODY>}
}

        if (!StringUtil.isNullOrEmpty(path) && !path.startsWith("/admin")) {
            return true;
        }
        return false;
    
<methods>public void <init>(io.moquette.spi.IMessagesStore, io.moquette.spi.ISessionsStore) ,public void exceptionCaught(ChannelHandlerContext, java.lang.Throwable) throws java.lang.Exception<variables>private static final Logger Logger