JSM method on binary contexts implemented in Python