Duplicate tab check

Hi,

Is there a way to check if the tab component is a duplicate of another?

For example:

class MyBean {
  int id = 0;

  public int getId() {
    return id;    
  }

  public void setId(int id) {
    this.id = id;
  }
}

class MyForm extends FormLayout() {

  private MyBean bean;

  public MyForm(MyBean bean) {
    this.bean = bean;

    // build the form
  }
}

tab1 is myform of mybean with id 1
tab2 is myform of mybean with id 2

How do I check if tab1 or tab2 is already exisits to prevent opening duplicate tabs?

I am using Vaadin 7.5.10 with Tomcat 8.

Thanks.