class LocalSessionStateFactory implements SessionStateFactory {
    private static LocalSessionStateFactory instance;
    public static LocalSessionStateFactory getInstance() {<FILL_FUNCTION_BODY>}
    private LocalSessionStateFactory(){

    }

    public static final int SESSION_STATE_PRIORITY = 1;
    @Override
    public int priority() {
        return SESSION_STATE_PRIORITY;
    }

    @Override
    public SessionState create(Context ctx) {
        return new LocalSessionState(ctx);
    }

}

        if (instance == null) {
            instance = new LocalSessionStateFactory();
        }

        return instance;
    
<no_super_class>