if ((node != null) && (obj != null) && obj instanceof HopObject) {
if ((node != null) && obj instanceof HopObject) {
    public int jsFunction_contains(Object obj) {        if ((node != null) && (obj != null) && obj instanceof HopObject) {            return node.contains(((HopObject) obj).node);        }        return -1;    }