'Compares two Scripts. Compares dbids.
Args:
other (Script): A script to compare with.'

def __eq__(self, other):

    try:
        return (other.dbid == self.dbid)
    except Exception:
        return False
