code.addLocal();
code.aload(1);
code.instance_of(context.TYPE_ANY);
Source isfalse = code.if_eq();
code.invokestatic(pool.addMethodRef(context.TYPE_CONTEXT, "getInstance", "()Lanvil/script/Context;"));
code.astore(code.addLocal());
code.self();
context.compileArgumentList(function, CAST_P1_NODE, 2);
code.invokevirtual(function.getTypeRef(pool));
code.invokevirtual(pool.addMethodRef(context.TYPE_ANY, "toBoolean", "()Z"));
code.ireturn();