class LoginedCheckerImp implements LoginedChecker{
    @Override
    public boolean check(Logined anno, Context ctx, String userKeyName) {<FILL_FUNCTION_BODY>}
}

        Object userKey = ctx.session(userKeyName, Object.class);

        if (userKey == null) {
            return false;
        }

        if (userKey instanceof Number) {
            if (((Number) userKey).longValue() < 1) {
                return false;
            }
        }

        if (userKey instanceof String) {
            if (((String) userKey).length() < 1) {
                return false;
            }
        }

        return true;
    
<no_super_class>