def is_same(e1, e2):
    """
    Elements in entity can be cloned by a simulation module or viewer module.
    In some cases, their same identity should be checked.
    """
    if e1.name == e2.name and e1.module == e2.module:
        return True
    return False
